#DEF4B2

Closest named color: Light Khaki (#E6F2A2). oklch(93.5% 0.089 123.1), rgb(222, 244, 178).

Aa

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

About this color

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

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

Values

HEX#DEF4B2
RGBrgb(222, 244, 178)
HSLhsl(80, 75%, 83%)
OKLCHoklch(93.5% 0.089 123.1)

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 #DEF4B2 1.18:1 Fails Lc -10.6 Not readable
Black text on #DEF4B2 17.68:1 AAA Lc 94.5 Preferred for body text
#DEF4B2 text on white 1.18:1 Fails Lc 9.0 Not readable
#DEF4B2 text on black 17.68:1 AAA Lc -95.2 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)

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  3. Step 200

    200

    #D1E1B3

    oklch(88.6% 0.063 123.3)

  4. Step 300

    300

    #B3CD78

    oklch(80.9% 0.114 122.9)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  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

#DEF4B2 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)#FCECAE0.042
Deuteranopia (no green cones)#F9EBB50.042
Tritanopia (no blue cones)#E3EDE20.072
Achromatopsia (no color)#EBEBEB0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEF4B2

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEF4B2

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  • #FEE9A5

    #FEE9A5

    oklch(93.5% 0.089 93)

  • #BCFCCE

    #BCFCCE

    oklch(93.6% 0.089 153.2)

Open the analogous palette in the generator

Split complementary

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

  • #DEF4B2

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  • #E2E9FF

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  • #FFDEF8

    #FFDEF8

    oklch(93.5% 0.05 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEF4B2

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  • #D7EDFF

    #D7EDFF

    oklch(93.5% 0.034 242.7)

  • #FFE0E7

    #FFE0E7

    oklch(93.4% 0.035 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEF4B2

    #DEF4B2

    oklch(93.5% 0.089 123.1)

  • #C2F4FF

    #C2F4FF

    oklch(93.6% 0.053 212.6)

  • #EEE4FF

    #EEE4FF

    oklch(93.5% 0.038 302.5)

  • #FFE2DB

    #FFE2DB

    oklch(93.5% 0.034 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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