#D8E98F

Closest named color: Khaki (#F0E68C). oklch(90.1% 0.115 117.5), rgb(216, 233, 143).

Aa

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

About this color

#D8E98F is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.115 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.032 away. Black text reads best on it, at 15.97:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameKhaki (#F0E68C)
Black text15.97:1
White text1.31:1

Values

HEX#D8E98F
RGBrgb(216, 233, 143)
HSLhsl(71, 67%, 74%)
OKLCHoklch(90.1% 0.115 117.5)

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 #D8E98F 1.31:1 Fails Lc -17.8 Dividers and decoration only
Black text on #D8E98F 15.97:1 AAA Lc 88.1 Fine for body text
#D8E98F text on white 1.31:1 Fails Lc 15.5 Dividers and decoration only
#D8E98F text on black 15.97:1 AAA Lc -88.2 Fine 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 200.

  1. Step 50

    50

    #F4F7E9

    oklch(97% 0.019 116.6)

  2. Step 100

    100

    #E7EECE

    oklch(93.5% 0.043 117.3)

  3. Step 200

    200 (this color)

    #D8E98F

    oklch(90.1% 0.115 117.5)

  4. Step 300

    300

    #B9CD53

    oklch(80.9% 0.148 117.7)

  5. Step 400

    400

    #99AD00

    oklch(70.7% 0.164 117.7)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8E98F 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)#F4E0880.041
Deuteranopia (no green cones)#F2E1930.041
Tritanopia (no blue cones)#E1E0D30.099
Achromatopsia (no color)#E0E0E00.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8E98F

    #D8E98F

    oklch(90.1% 0.115 117.5)

  • #E2D7FF

    #E2D7FF

    oklch(90% 0.055 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8E98F

    #D8E98F

    oklch(90.1% 0.115 117.5)

  • #FFDA81

    #FFDA81

    oklch(90.1% 0.116 87.5)

  • #AAF4B2

    #AAF4B2

    oklch(90.2% 0.116 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #D8E98F

    #D8E98F

    oklch(90.1% 0.115 117.5)

  • #D0DEFF

    #D0DEFF

    oklch(90.1% 0.048 267.2)

  • #FFCAFD

    #FFCAFD

    oklch(90.1% 0.089 327.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8E98F

    #D8E98F

    oklch(90.1% 0.115 117.5)

  • #BDE5FF

    #BDE5FF

    oklch(90.2% 0.055 236.7)

  • #FFD0DE

    #FFD0DE

    oklch(90.2% 0.056 358.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8E98F

    #D8E98F

    oklch(90.1% 0.115 117.5)

  • #8DF1FF

    #8DF1FF

    oklch(90.2% 0.096 207.2)

  • #E2D7FF

    #E2D7FF

    oklch(90% 0.055 297.9)

  • #FFD2CC

    #FFD2CC

    oklch(90.1% 0.052 27)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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