#D1D98D

Closest named color: Greenish Beige (#C9D179). oklch(86.2% 0.098 113.4), rgb(209, 217, 141).

Aa

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

About this color

#D1D98D is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.098 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.030 away. Black text reads best on it, at 14.02:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.02:1
White text1.49:1

Values

HEX#D1D98D
RGBrgb(209, 217, 141)
HSLhsl(66, 50%, 70%)
OKLCHoklch(86.2% 0.098 113.4)

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 #D1D98D 1.49:1 Fails Lc -26.5 Dividers and decoration only
Black text on #D1D98D 14.02:1 AAA Lc 80.4 Fine for body text
#D1D98D text on white 1.49:1 Fails Lc 23.3 Dividers and decoration only
#D1D98D text on black 14.02:1 AAA Lc -79.9 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

    #F5F7EA

    oklch(97.1% 0.017 113.8)

  2. Step 100

    100

    #E9EDD2

    oklch(93.6% 0.036 113.9)

  3. Step 200

    200 (this color)

    #D1D98D

    oklch(86.2% 0.098 113.4)

  4. Step 300

    300

    #C0C964

    oklch(80.8% 0.126 113.4)

  5. Step 400

    400

    #A1AA00

    oklch(70.7% 0.158 113.5)

  6. Step 500

    500

    #8A9200

    oklch(63.2% 0.142 113.6)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#D1D98D 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)#E4D2880.029
Deuteranopia (no green cones)#E3D4900.028
Tritanopia (no blue cones)#DAD1C60.085
Achromatopsia (no color)#D3D3D30.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1D98D

    #D1D98D

    oklch(86.2% 0.098 113.4)

  • #D3C9FF

    #D3C9FF

    oklch(86.2% 0.075 293.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1D98D

    #D1D98D

    oklch(86.2% 0.098 113.4)

  • #F1CC85

    #F1CC85

    oklch(86.1% 0.099 83)

  • #ABE3A8

    #ABE3A8

    oklch(86.2% 0.099 143.4)

Open the analogous palette in the generator

Split complementary

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

  • #D1D98D

    #D1D98D

    oklch(86.2% 0.098 113.4)

  • #BBD2FF

    #BBD2FF

    oklch(86.2% 0.068 263.7)

  • #F2BCF7

    #F2BCF7

    oklch(86.2% 0.099 323.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1D98D

    #D1D98D

    oklch(86.2% 0.098 113.4)

  • #9BDBFF

    #9BDBFF

    oklch(86.1% 0.082 233.6)

  • #FFBBD6

    #FFBBD6

    oklch(86.2% 0.085 353.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1D98D

    #D1D98D

    oklch(86.2% 0.098 113.4)

  • #7CE5EE

    #7CE5EE

    oklch(86.2% 0.098 202.8)

  • #D3C9FF

    #D3C9FF

    oklch(86.2% 0.075 293.3)

  • #FFBFBA

    #FFBFBA

    oklch(86.1% 0.075 23.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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