#D3E797

Closest named color: Light Sage (#BCECAC). oklch(89.5% 0.105 120), rgb(211, 231, 151).

Aa

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

About this color

#D3E797 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.105 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Sage (#BCECAC), ΔE 0.033 away. Black text reads best on it, at 15.64:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameLight Sage (#BCECAC)
Black text15.64:1
White text1.34:1

Values

HEX#D3E797
RGBrgb(211, 231, 151)
HSLhsl(75, 62%, 75%)
OKLCHoklch(89.5% 0.105 120)

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 #D3E797 1.34:1 Fails Lc -19.2 Dividers and decoration only
Black text on #D3E797 15.64:1 AAA Lc 86.9 Fine for body text
#D3E797 text on white 1.34:1 Fails Lc 16.8 Dividers and decoration only
#D3E797 text on black 15.64:1 AAA Lc -86.8 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

    #F4F7EA

    oklch(97% 0.017 117.3)

  2. Step 100

    100

    #E6EED1

    oklch(93.5% 0.039 119.7)

  3. Step 200

    200 (this color)

    #D3E797

    oklch(89.5% 0.105 120)

  4. Step 300

    300

    #B5CD63

    oklch(80.8% 0.135 120.1)

  5. Step 400

    400

    #94AF00

    oklch(70.8% 0.168 120.1)

  6. Step 500

    500

    #7F9600

    oklch(63.3% 0.15 120)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596A00

    oklch(49.3% 0.117 120.1)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#D3E797 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)#F1DE910.043
Deuteranopia (no green cones)#EEDF9B0.042
Tritanopia (no blue cones)#DADFD30.088
Achromatopsia (no color)#DEDEDE0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D3E797

    #D3E797

    oklch(89.5% 0.105 120)

  • #E2D4FF

    #E2D4FF

    oklch(89.5% 0.06 300.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D3E797

    #D3E797

    oklch(89.5% 0.105 120)

  • #F7DA89

    #F7DA89

    oklch(89.5% 0.105 90.4)

  • #AAF0B8

    #AAF0B8

    oklch(89.4% 0.104 150.1)

Open the analogous palette in the generator

Split complementary

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

  • #D3E797

    #D3E797

    oklch(89.5% 0.105 120)

  • #CFDBFF

    #CFDBFF

    oklch(89.4% 0.051 270.8)

  • #FFC7F9

    #FFC7F9

    oklch(89.4% 0.09 329.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D3E797

    #D3E797

    oklch(89.5% 0.105 120)

  • #BBE2FF

    #BBE2FF

    oklch(89.4% 0.057 240.5)

  • #FFCDDA

    #FFCDDA

    oklch(89.5% 0.059 1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D3E797

    #D3E797

    oklch(89.5% 0.105 120)

  • #8CEEFF

    #8CEEFF

    oklch(89.5% 0.095 209.8)

  • #E2D4FF

    #E2D4FF

    oklch(89.5% 0.06 300.1)

  • #FFCFC7

    #FFCFC7

    oklch(89.4% 0.056 29.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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