#DEF4B5

Closest named color: Light Khaki (#E6F2A2). oklch(93.6% 0.085 123.7), rgb(222, 244, 181).

Aa

Black text reads best on this color (17.71:1).

About this color

#DEF4B5 is a very light, moderately saturated yellow. In OKLCH its lightness is 94%, its chroma 0.085 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.022 away. Black text reads best on it, at 17.71:1.

Hue familyYellows
Lightnessvery light (94%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text17.71:1
White text1.18:1

Values

HEX#DEF4B5
RGBrgb(222, 244, 181)
HSLhsl(81, 74%, 83%)
OKLCHoklch(93.6% 0.085 123.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DEF4B5 1.18:1 Fails Lc -10.5 Not readable
Black text on #DEF4B5 17.71:1 AAA Lc 94.6 Preferred for body text
#DEF4B5 text on white 1.18:1 Fails Lc 9.0 Not readable
#DEF4B5 text on black 17.71:1 AAA Lc -95.3 Preferred for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 100.

  1. Step 50

    50

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100 (this color)

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  3. Step 200

    200

    #D1E0B5

    oklch(88.4% 0.059 123.2)

  4. Step 300

    300

    #B2CD7C

    oklch(80.9% 0.11 123.9)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#DEF4B5 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#FBECB10.041
Deuteranopia (no green cones)#F8ECB80.040
Tritanopia (no blue cones)#E3EEE30.068
Achromatopsia (no color)#ECECEC0.085

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DEF4B5

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  • #EFE4FF

    #EFE4FF

    oklch(93.6% 0.038 304.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF4B5

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  • #FDE9A8

    #FDE9A8

    oklch(93.5% 0.085 93)

  • #BEFBD0

    #BEFBD0

    oklch(93.5% 0.085 153.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DEF4B5

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  • #E3E9FF

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  • #FFDEF8

    #FFDEF8

    oklch(93.5% 0.05 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF4B5

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  • #D8EDFF

    #D8EDFF

    oklch(93.6% 0.033 244)

  • #FFE1E7

    #FFE1E7

    oklch(93.6% 0.034 4.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF4B5

    #DEF4B5

    oklch(93.6% 0.085 123.7)

  • #C3F4FF

    #C3F4FF

    oklch(93.7% 0.052 212.9)

  • #EFE4FF

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  • #FFE2DC

    #FFE2DC

    oklch(93.5% 0.033 31.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DEF4B5, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DEF4B5 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.