#DEF0AA

Closest named color: Light Khaki (#E6F2A2). oklch(92.5% 0.092 120), rgb(222, 240, 170).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text17.15:1
White text1.22:1

Values

HEX#DEF0AA
RGBrgb(222, 240, 170)
HSLhsl(75, 70%, 80%)
OKLCHoklch(92.5% 0.092 120)

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 #DEF0AA 1.22:1 Fails Lc -12.8 Not readable
Black text on #DEF0AA 17.15:1 AAA Lc 92.5 Preferred for body text
#DEF0AA text on white 1.22:1 Fails Lc 11.1 Not readable
#DEF0AA text on black 17.15:1 AAA Lc -93.0 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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100 (this color)

    #DEF0AA

    oklch(92.5% 0.092 120)

  3. Step 200

    200

    #D3E0AF

    oklch(88.4% 0.066 119.8)

  4. Step 300

    300

    #B7CC71

    oklch(80.9% 0.119 119.8)

  5. Step 400

    400

    #94AE00

    oklch(70.6% 0.167 119.8)

  6. Step 500

    500

    #7F9600

    oklch(63.3% 0.15 120)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#DEF0AA 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)#F9E8A50.038
Deuteranopia (no green cones)#F7E8AD0.039
Tritanopia (no blue cones)#E4E9DE0.077
Achromatopsia (no color)#E8E8E80.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF0AA

    #DEF0AA

    oklch(92.5% 0.092 120)

  • #EAE1FF

    #EAE1FF

    oklch(92.6% 0.041 299.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF0AA

    #DEF0AA

    oklch(92.5% 0.092 120)

  • #FEE49E

    #FEE49E

    oklch(92.4% 0.093 90)

  • #BAF8C6

    #BAF8C6

    oklch(92.4% 0.092 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #DEF0AA

    #DEF0AA

    oklch(92.5% 0.092 120)

  • #DDE6FF

    #DDE6FF

    oklch(92.6% 0.035 269.9)

  • #FFD8FA

    #FFD8FA

    oklch(92.5% 0.062 330.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF0AA

    #DEF0AA

    oklch(92.5% 0.092 120)

  • #CFEBFF

    #CFEBFF

    oklch(92.6% 0.04 239)

  • #FFDBE5

    #FFDBE5

    oklch(92.4% 0.042 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF0AA

    #DEF0AA

    oklch(92.5% 0.092 120)

  • #B2F3FF

    #B2F3FF

    oklch(92.5% 0.067 210.2)

  • #EAE1FF

    #EAE1FF

    oklch(92.6% 0.041 299.3)

  • #FFDDD7

    #FFDDD7

    oklch(92.4% 0.039 29.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #DEF0AA 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.