#DAF2B2

Closest named color: Light Khaki (#E6F2A2). oklch(92.8% 0.087 124.8), rgb(218, 242, 178).

Aa

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

About this color

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

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

Values

HEX#DAF2B2
RGBrgb(218, 242, 178)
HSLhsl(83, 71%, 82%)
OKLCHoklch(92.8% 0.087 124.8)

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 #DAF2B2 1.21:1 Fails Lc -12.1 Not readable
Black text on #DAF2B2 17.32:1 AAA Lc 93.2 Preferred for body text
#DAF2B2 text on white 1.21:1 Fails Lc 10.4 Not readable
#DAF2B2 text on black 17.32:1 AAA Lc -93.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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100 (this color)

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  3. Step 200

    200

    #D0E1B4

    oklch(88.5% 0.063 124.5)

  4. Step 300

    300

    #B0CD7B

    oklch(80.8% 0.112 124.7)

  5. Step 400

    400

    #88B200

    oklch(70.7% 0.177 124.8)

  6. Step 500

    500

    #749900

    oklch(63.2% 0.159 125)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #364900

    oklch(37.5% 0.094 124.8)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#DAF2B2 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)#F9EAAE0.043
Deuteranopia (no green cones)#F6E9B50.043
Tritanopia (no blue cones)#DEECE10.069
Achromatopsia (no color)#E9E9E90.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #DAF2B2

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  • #EEE1FF

    #EEE1FF

    oklch(92.9% 0.042 305.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DAF2B2

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  • #F9E7A4

    #F9E7A4

    oklch(92.7% 0.087 94.9)

  • #B9F9CE

    #B9F9CE

    oklch(92.8% 0.087 155)

Open the analogous palette in the generator

Split complementary

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

  • #DAF2B2

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  • #E0E6FF

    #E0E6FF

    oklch(92.8% 0.035 275)

  • #FFDAF6

    #FFDAF6

    oklch(92.7% 0.055 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DAF2B2

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  • #D3EBFF

    #D3EBFF

    oklch(92.9% 0.037 243.2)

  • #FFDDE4

    #FFDDE4

    oklch(92.8% 0.039 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DAF2B2

    #DAF2B2

    oklch(92.8% 0.087 124.8)

  • #BDF2FF

    #BDF2FF

    oklch(92.9% 0.057 214.4)

  • #EEE1FF

    #EEE1FF

    oklch(92.9% 0.042 305.1)

  • #FFDFD7

    #FFDFD7

    oklch(92.8% 0.037 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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