#D7F098

Closest named color: Light Khaki (#E6F2A2). oklch(91.7% 0.115 121.6), rgb(215, 240, 152).

Aa

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

About this color

#D7F098 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.115 and its hue 122°. 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.80:1.

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

Values

HEX#D7F098
RGBrgb(215, 240, 152)
HSLhsl(77, 75%, 77%)
OKLCHoklch(91.7% 0.115 121.6)

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 #D7F098 1.24:1 Fails Lc -14.3 Not readable
Black text on #D7F098 16.80:1 AAA Lc 91.3 Preferred for body text
#D7F098 text on white 1.24:1 Fails Lc 12.3 Not readable
#D7F098 text on black 16.80:1 AAA Lc -91.6 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)

    #D7F098

    oklch(91.7% 0.115 121.6)

  3. Step 200

    200

    #D0E2A5

    oklch(88.4% 0.082 121.4)

  4. Step 300

    300

    #B1CF59

    oklch(80.8% 0.148 121.7)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677E00

    oklch(55.5% 0.134 121.5)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#D7F098 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)#FAE6920.050
Deuteranopia (no green cones)#F7E69C0.050
Tritanopia (no blue cones)#DEE8DA0.095
Achromatopsia (no color)#E6E6E60.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7F098

    #D7F098

    oklch(91.7% 0.115 121.6)

  • #E9DDFF

    #E9DDFF

    oklch(91.7% 0.047 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7F098

    #D7F098

    oklch(91.7% 0.115 121.6)

  • #FFE189

    #FFE189

    oklch(91.6% 0.113 91.2)

  • #A8FABD

    #A8FABD

    oklch(91.7% 0.116 151.7)

Open the analogous palette in the generator

Split complementary

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

  • #D7F098

    #D7F098

    oklch(91.7% 0.115 121.6)

  • #DAE3FF

    #DAE3FF

    oklch(91.8% 0.039 271.5)

  • #FFD4F8

    #FFD4F8

    oklch(91.7% 0.067 331.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7F098

    #D7F098

    oklch(91.7% 0.115 121.6)

  • #CBE8FF

    #CBE8FF

    oklch(91.7% 0.044 242)

  • #FFD8E1

    #FFD8E1

    oklch(91.8% 0.045 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7F098

    #D7F098

    oklch(91.7% 0.115 121.6)

  • #ACF1FF

    #ACF1FF

    oklch(91.7% 0.071 211.6)

  • #E9DDFF

    #E9DDFF

    oklch(91.7% 0.047 301.5)

  • #FFDAD2

    #FFDAD2

    oklch(91.7% 0.043 32.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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