#DEF2B8

Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.079 123.4), rgb(222, 242, 184).

Aa

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

About this color

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

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

Values

HEX#DEF2B8
RGBrgb(222, 242, 184)
HSLhsl(81, 69%, 84%)
OKLCHoklch(93.2% 0.079 123.4)

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 #DEF2B8 1.20:1 Fails Lc -11.4 Not readable
Black text on #DEF2B8 17.49:1 AAA Lc 93.8 Preferred for body text
#DEF2B8 text on white 1.20:1 Fails Lc 9.8 Not readable
#DEF2B8 text on black 17.49:1 AAA Lc -94.4 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)

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  3. Step 200

    200

    #D2E0B7

    oklch(88.5% 0.057 122.9)

  4. Step 300

    300

    #B4CC82

    oklch(81% 0.101 123.3)

  5. Step 400

    400

    #8DB025

    oklch(70.7% 0.162 123.4)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #647F00

    oklch(55.5% 0.136 123.2)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  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

#DEF2B8 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)#F9EBB40.037
Deuteranopia (no green cones)#F6EABA0.037
Tritanopia (no blue cones)#E2ECE20.063
Achromatopsia (no color)#EAEAEA0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF2B8

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  • #EEE3FF

    #EEE3FF

    oklch(93.3% 0.039 303.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF2B8

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  • #FAE8AD

    #FAE8AD

    oklch(93.2% 0.078 93.1)

  • #C1F9D0

    #C1F9D0

    oklch(93.3% 0.079 153)

Open the analogous palette in the generator

Split complementary

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

  • #DEF2B8

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  • #E1E8FF

    #E1E8FF

    oklch(93.3% 0.032 272.3)

  • #FFDCF8

    #FFDCF8

    oklch(93.2% 0.053 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF2B8

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  • #D5ECFF

    #D5ECFF

    oklch(93.2% 0.036 243)

  • #FFDFE6

    #FFDFE6

    oklch(93.2% 0.036 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF2B8

    #DEF2B8

    oklch(93.2% 0.079 123.4)

  • #BFF3FF

    #BFF3FF

    oklch(93.2% 0.055 213.4)

  • #EEE3FF

    #EEE3FF

    oklch(93.3% 0.039 303.4)

  • #FFE1DA

    #FFE1DA

    oklch(93.2% 0.035 33.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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