#DEF5B3

Closest named color: Light Khaki (#E6F2A2). oklch(93.7% 0.089 123.7), rgb(222, 245, 179).

Aa

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

About this color

#DEF5B3 is a very light, moderately saturated yellow. In OKLCH its lightness is 94%, its chroma 0.089 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.020 away. Black text reads best on it, at 17.81:1.

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

Values

HEX#DEF5B3
RGBrgb(222, 245, 179)
HSLhsl(81, 77%, 83%)
OKLCHoklch(93.7% 0.089 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 #DEF5B3 1.17:1 Fails Lc -10.1 Not readable
Black text on #DEF5B3 17.81:1 AAA Lc 95.0 Preferred for body text
#DEF5B3 text on white 1.17:1 Fails Lc 8.6 Not readable
#DEF5B3 text on black 17.81:1 AAA Lc -95.7 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100 (this color)

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  3. Step 200

    200

    #D0E1B3

    oklch(88.5% 0.064 124.2)

  4. Step 300

    300

    #B2CD79

    oklch(80.9% 0.113 123.5)

  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

    #435800

    oklch(42.7% 0.106 124.1)

  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

#DEF5B3 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)#FDEDAF0.043
Deuteranopia (no green cones)#F9ECB60.042
Tritanopia (no blue cones)#E3EFE30.070
Achromatopsia (no color)#ECECEC0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF5B3

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  • #EFE5FF

    #EFE5FF

    oklch(93.8% 0.036 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF5B3

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  • #FEEAA5

    #FEEAA5

    oklch(93.7% 0.09 93.9)

  • #BCFCCF

    #BCFCCF

    oklch(93.6% 0.089 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #DEF5B3

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  • #E4E9FF

    #E4E9FF

    oklch(93.7% 0.03 275.6)

  • #FFDFF8

    #FFDFF8

    oklch(93.7% 0.048 333.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF5B3

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  • #D9EDFF

    #D9EDFF

    oklch(93.7% 0.032 245.3)

  • #FFE2E8

    #FFE2E8

    oklch(93.8% 0.033 3.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF5B3

    #DEF5B3

    oklch(93.7% 0.089 123.7)

  • #C5F4FF

    #C5F4FF

    oklch(93.8% 0.05 213.5)

  • #EFE5FF

    #EFE5FF

    oklch(93.8% 0.036 303.1)

  • #FFE3DD

    #FFE3DD

    oklch(93.7% 0.032 32.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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