#DEF2AA

Closest named color: Light Khaki (#E6F2A2). oklch(92.9% 0.095 120.9), rgb(222, 242, 170).

Aa

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

About this color

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

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

Values

HEX#DEF2AA
RGBrgb(222, 242, 170)
HSLhsl(77, 73%, 81%)
OKLCHoklch(92.9% 0.095 120.9)

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 #DEF2AA 1.20:1 Fails Lc -11.9 Not readable
Black text on #DEF2AA 17.38:1 AAA Lc 93.4 Preferred for body text
#DEF2AA text on white 1.20:1 Fails Lc 10.2 Not readable
#DEF2AA text on black 17.38:1 AAA Lc -94.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

    #F4F7EB

    oklch(97.1% 0.016 118.1)

  2. Step 100

    100 (this color)

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  3. Step 200

    200

    #D2E1AF

    oklch(88.6% 0.068 121.4)

  4. Step 300

    300

    #B5CD6F

    oklch(81% 0.123 121)

  5. Step 400

    400

    #92AF00

    oklch(70.7% 0.169 120.8)

  6. Step 500

    500

    #7D9600

    oklch(63.1% 0.151 120.8)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#DEF2AA 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)#FBEAA50.041
Deuteranopia (no green cones)#F8EAAD0.040
Tritanopia (no blue cones)#E4EBDF0.078
Achromatopsia (no color)#EAEAEA0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF2AA

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  • #ECE2FF

    #ECE2FF

    oklch(92.9% 0.04 301.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF2AA

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  • #FFE69F

    #FFE69F

    oklch(92.9% 0.093 90.9)

  • #B9FAC7

    #B9FAC7

    oklch(92.8% 0.095 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #DEF2AA

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  • #DFE7FF

    #DFE7FF

    oklch(92.9% 0.034 271)

  • #FFDAFA

    #FFDAFA

    oklch(92.9% 0.058 330.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF2AA

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  • #D2ECFF

    #D2ECFF

    oklch(93% 0.038 239.6)

  • #FFDEE6

    #FFDEE6

    oklch(93% 0.038 1.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF2AA

    #DEF2AA

    oklch(92.9% 0.095 120.9)

  • #B8F3FF

    #B8F3FF

    oklch(92.8% 0.062 211.5)

  • #ECE2FF

    #ECE2FF

    oklch(92.9% 0.04 301.3)

  • #FFDFD9

    #FFDFD9

    oklch(92.8% 0.037 30.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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