#DEF1B4

Closest named color: Light Khaki (#E6F2A2). oklch(92.9% 0.082 122), rgb(222, 241, 180).

Aa

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

About this color

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

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

Values

HEX#DEF1B4
RGBrgb(222, 241, 180)
HSLhsl(79, 69%, 83%)
OKLCHoklch(92.9% 0.082 122)

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 #DEF1B4 1.21:1 Fails Lc -12.0 Not readable
Black text on #DEF1B4 17.34:1 AAA Lc 93.2 Preferred for body text
#DEF1B4 text on white 1.21:1 Fails Lc 10.3 Not readable
#DEF1B4 text on black 17.34:1 AAA Lc -93.8 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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100 (this color)

    #DEF1B4

    oklch(92.9% 0.082 122)

  3. Step 200

    200

    #D2E0B5

    oklch(88.5% 0.059 122.3)

  4. Step 300

    300

    #B5CC7E

    oklch(81% 0.105 122.2)

  5. Step 400

    400

    #8FB00E

    oklch(70.7% 0.169 122.3)

  6. Step 500

    500

    #7A9700

    oklch(63.1% 0.154 122.2)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4900

    oklch(37.9% 0.092 122)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#DEF1B4 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)#F9EAB00.037
Deuteranopia (no green cones)#F6E9B70.038
Tritanopia (no blue cones)#E3EBE10.067
Achromatopsia (no color)#E9E9E90.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF1B4

    #DEF1B4

    oklch(92.9% 0.082 122)

  • #ECE2FF

    #ECE2FF

    oklch(92.9% 0.04 301.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF1B4

    #DEF1B4

    oklch(92.9% 0.082 122)

  • #FBE7A9

    #FBE7A9

    oklch(93% 0.082 92.3)

  • #BFF8CD

    #BFF8CD

    oklch(92.9% 0.082 152.1)

Open the analogous palette in the generator

Split complementary

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

  • #DEF1B4

    #DEF1B4

    oklch(92.9% 0.082 122)

  • #DFE7FF

    #DFE7FF

    oklch(92.9% 0.034 271)

  • #FFDBF8

    #FFDBF8

    oklch(93% 0.055 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF1B4

    #DEF1B4

    oklch(92.9% 0.082 122)

  • #D3EBFF

    #D3EBFF

    oklch(92.9% 0.037 243.2)

  • #FFDEE5

    #FFDEE5

    oklch(93% 0.038 3.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF1B4

    #DEF1B4

    oklch(92.9% 0.082 122)

  • #BAF3FF

    #BAF3FF

    oklch(92.9% 0.06 212)

  • #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 #DEF1B4, closest first.

Similar named colors

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

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