Skip to main content

Pear Yellow

#D1E231·yellow family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Pear Yellow (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#D1E231
RGB
rgb(209, 226, 49)
HSL
hsl(66, 75%, 54%)
OKLCH
oklch(0.871 0.185 115)
CMYK
cmyk(8%, 0%, 78%, 11%)
Luminance:0.6817
CSS var:--color-pear-yellow
Tailwind:bg-[#D1E231]

Accessibility

Score: 48/100

On White (#FFF)

1.44:1

Fail

On Black (#000)

14.63:1

AAA

On Light Gray (#F5F5F5)

1.32:1

Fail

Best text color on this background:

black14.63:1
Open in Contrast Checker →

Design Applications

Background

background-color: #D1E231

Text Color

color: #D1E231

bg-[#D1E231] text-[#000000]

Accent border card component

border-left: 4px solid #D1E231

Color Meaning & Psychology

Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.

Industry Usage

Common contexts and industries where Pear Yellow is applied in professional design.

  • Taxi and transportation services
  • Construction and heavy machinery
  • Children's education products and toys
  • Fast food and energy-focused brands
  • Caution and safety signage
  • Summer and outdoor lifestyle brands
  • Optimistic lifestyle and wellness brands
  • Creative agencies emphasizing ideas

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Pear Yellow is a light color. Use black (#000000) text on top of it for maximum readability (14.63:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #D1E231;

Text

color: #D1E231;

Border

border: 2px solid #D1E231;

Box Shadow

box-shadow: 0 4px 20px #D1E23140;

Gradient

background: linear-gradient(135deg, #D1E231, #ffff69);

Tailwind-style

--color-pear-yellow: #D1E231;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Pear Yellow without a custom config.

Background

bg-[#D1E231]

Text

text-[#D1E231]

Border

border-[#D1E231]

Ring

ring-[#D1E231]

Fill

fill-[#D1E231]

From (gradient)

from-[#D1E231]

Via (gradient)

via-[#D1E231]

To (gradient)

to-[#D1E231]

Design Tokens

Ready-to-use Pear Yellow design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-pear-yellow: #D1E231;
  --color-pear-yellow-rgb: 209, 226, 49;
  --color-pear-yellow-hsl: 66, 75%, 54%;
}

SCSS Variables

$color-pear-yellow: #D1E231;
$color-pear-yellow-rgb: 209, 226, 49;
$color-pear-yellow-hsl: 66, 75%, 54%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'pear-yellow': '#D1E231',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-pear-yellow: #D1E231;
}

JSON Design Token (W3C format)

{
  "pear-yellow": {
    "value": "#D1E231",
    "type": "color",
    "description": "Pear Yellow — #D1E231"
  }
}

What Does Pear Yellow Mean? Color Psychology & Cultural Symbolism

Pear Yellow at #D1E231 is a medium interpretation of one of the spectrum's most semantically rich hues. Yellow sits at the junction of optimism and caution in human psychology—and this particular shade resolves that tension in favor of brightness.

  • Yellow occupies a paradoxical space in Western symbolism—simultaneously the color of happiness, optimism, and cowardice. In commercial contexts it signals caution (traffic lights, hazard tape) and sale promotions. In consumer branding it communicates cheerfulness and energy.
  • In Chinese and many other East Asian cultures, yellow (and especially gold-yellow) historically signified royalty, prosperity, and imperial authority. In Buddhist traditions it represents wisdom and harmony.
  • Pear Yellow's medium lightness (54%) shifts its psychological register: a balanced mid-tone that embodies optimism, clarity, intellect, and caution at its most direct.
  • At 75% saturation, Pear Yellow reads as moderately saturated—neither overwhelming nor passive, landing in the optimism, clarity, intellect, and caution zone with measured confidence.

Pear Yellow is the color of first impressions—it arrives before everything else and sets the energy level for what follows.

How to Use Pear Yellow in Design: Applications, Pairings & Best Practices

Pear Yellow requires careful deployment in design—its high luminosity makes it nearly impossible to use as text on white backgrounds, but as an accent, background, or highlight it has no equal for drawing the eye.

  • UI components: warning states, highlights, feature callouts—Pear Yellow performs reliably in all these roles with its medium tonal character.
  • Brand & identity: highlights, callout banners, brand accents—contexts where Pear Yellow's moderately saturated quality creates the right register.
  • Typography: Pear Yellow as text requires a dark background; its 54% lightness means it provides 1.4:1 contrast on white, not meeting WCAG AA.
  • Pear Yellow creates strong legibility with black text overlays (14.6:1 contrast ratio), making it a reliable background or surface color in design systems
  • Proportional use: Pear Yellow's moderately saturated saturation (75%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.

Pear Yellow is the color of first impressions—it arrives before everything else and sets the energy level for what follows.

Pear Yellow Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Pear Yellow (#D1E231) achieves a 14.63:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 68.2%.

  • As text on white (#FFFFFF): 1.44:1 — Fail
  • As text on black (#000000): 14.63:1 — AAA ✓
  • Best text color on Pear Yellow background: Black (#000000) at 14.63:1
  • WCAG 2.1 luminance: 68.2% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
  • Pear Yellow qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

Always verify Pear Yellow at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Pear Yellow in Industry: Branding, Design & Market Applications

Pear Yellow's brand positioning falls squarely in the territory of optimism, clarity, intellect, and caution. Industry data supports its strongest performance in education, food, safety & construction categories, where the moderately saturated saturation calibrates the message at a medium, considered level.

  • Food & Beverage: Yellow stimulates appetite and communicates freshness, especially for bakery, dairy, and snack categories. Its association with sunlight and ripe crops makes it an instinctive choice for natural and wholesome food brands. (examples: Chipotle, Sweetgreen, Blue Bottle Coffee) Extremely effective for children's food products; less effective for premium dining where it reads as casual.
  • Education & Children's Products: Yellow is cognitively stimulating and signals playfulness, making it a dominant choice in educational materials, children's toys, and learning apps. It creates an environment of curiosity and creative energy. (examples: Chegg, Khan Academy, Coursera) Combine with blue for a classic educational palette that suggests both warmth and reliability.
  • Safety & Construction: Yellow is the universal signal for visibility and caution. High-visibility vests, construction equipment, and warning signage use yellow because it provides maximum contrast in low-light conditions and stands out in natural environments. This safety connotation can be leveraged in UX for warning states and "proceed with awareness" signals.
  • Brand positioning: Pear Yellow is best suited for brands projecting optimism, creativity, clarity. Categories outside this positioning—body text on white (extremely poor contrast)—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Pear Yellow works effectively in highlights, callout banners, brand accents—contexts where optimism serves a secondary but reinforcing role.

For marketers and brand strategists, Pear Yellow is a commitment to optimism, clarity, intellect, and caution. Match it with industries that make that promise and it will pay dividends consistently.

Frequently Asked Questions

What is the hex code for Pear Yellow?
The hex code for Pear Yellow is #D1E231. Its RGB values are rgb(209, 226, 49) and its HSL values are hsl(66, 75%, 54%).
What does Pear Yellow mean in design?
Yellow is the most luminous color in the visible spectrum — the color our eyes detect first and at the greatest distance. It stimulates mental activity, promotes optimism, and conveys clarity. However, yellow is also the most fatiguing for the human eye at extended exposure, and pure yellow text on white fails all accessibility standards. In design, yellow works best as an accent or background for dark text. Golden yellows signal warmth and achievement; cool lemons feel fresh and modern. Yellow is the universal color of caution — from traffic lights to hazard tape. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.
Is Pear Yellow WCAG accessible?
Pear Yellow (#D1E231) does not pass WCAG AA on white (1.44:1 ratio). Use it on dark backgrounds where it achieves 14.63:1. Its overall accessibility score is 48/100.
What colors go well with Pear Yellow?
Pear Yellow pairs well with its complementary color Slate Blue (#6A5ACD). Analogous colors like Navajo White and Gold also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Pear Yellow used for?
Pear Yellow is commonly used for: Taxi and transportation services; Construction and heavy machinery; Children's education products and toys; Fast food and energy-focused brands; Caution and safety signage.
What are the CSS and Tailwind values for Pear Yellow?
In CSS, use `color: #D1E231` or `background-color: #D1E231`. The CSS custom property is `--color-pear-yellow: #D1E231`. In Tailwind CSS, use the arbitrary value class `bg-[#D1E231]` for backgrounds or `text-[#D1E231]` for text.