#D8F097

Closest named color: Light Khaki (#E6F2A2). oklch(91.7% 0.116 121), rgb(216, 240, 151).

Aa

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

About this color

#D8F097 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.116 and its hue 121°. 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 16.83:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameLight Khaki (#E6F2A2)
Black text16.83:1
White text1.24:1

Values

HEX#D8F097
RGBrgb(216, 240, 151)
HSLhsl(76, 75%, 77%)
OKLCHoklch(91.7% 0.116 121)

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 #D8F097 1.24:1 Fails Lc -14.2 Not readable
Black text on #D8F097 16.83:1 AAA Lc 91.3 Preferred for body text
#D8F097 text on white 1.24:1 Fails Lc 12.2 Not readable
#D8F097 text on black 16.83:1 AAA Lc -91.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

    #F3F8E9

    oklch(97.1% 0.02 121.8)

  2. Step 100

    100 (this color)

    #D8F097

    oklch(91.7% 0.116 121)

  3. Step 200

    200

    #D1E2A5

    oklch(88.5% 0.082 120.7)

  4. Step 300

    300

    #B3CF57

    oklch(81% 0.149 120.9)

  5. Step 400

    400

    #92AF00

    oklch(70.7% 0.169 120.8)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8F097 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)#FAE6900.048
Deuteranopia (no green cones)#F7E69B0.049
Tritanopia (no blue cones)#DFE7DA0.097
Achromatopsia (no color)#E6E6E60.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8F097

    #D8F097

    oklch(91.7% 0.116 121)

  • #E9DDFF

    #E9DDFF

    oklch(91.7% 0.047 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8F097

    #D8F097

    oklch(91.7% 0.116 121)

  • #FFE18C

    #FFE18C

    oklch(91.6% 0.11 90.7)

  • #A9FABC

    #A9FABC

    oklch(91.7% 0.116 151)

Open the analogous palette in the generator

Split complementary

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

  • #D8F097

    #D8F097

    oklch(91.7% 0.116 121)

  • #DAE3FF

    #DAE3FF

    oklch(91.8% 0.039 271.5)

  • #FFD4F9

    #FFD4F9

    oklch(91.7% 0.068 330.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8F097

    #D8F097

    oklch(91.7% 0.116 121)

  • #CBE8FF

    #CBE8FF

    oklch(91.7% 0.044 242)

  • #FFD8E2

    #FFD8E2

    oklch(91.8% 0.045 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8F097

    #D8F097

    oklch(91.7% 0.116 121)

  • #ABF1FF

    #ABF1FF

    oklch(91.7% 0.072 211.4)

  • #E9DDFF

    #E9DDFF

    oklch(91.7% 0.047 301.5)

  • #FFDAD3

    #FFDAD3

    oklch(91.7% 0.043 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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