#D8CD5F

Closest named color: Greenish Beige (#C9D179). oklch(83.6% 0.132 103.6), rgb(216, 205, 95).

Aa

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

About this color

#D8CD5F is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.132 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.028 away. Black text reads best on it, at 12.81:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text12.81:1
White text1.63:1

Values

HEX#D8CD5F
RGBrgb(216, 205, 95)
HSLhsl(55, 61%, 61%)
OKLCHoklch(83.6% 0.132 103.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 #D8CD5F 1.63:1 Fails Lc -31.9 Non-text elements, placeholder text
Black text on #D8CD5F 12.81:1 AAA Lc 75.5 Fine for body text
#D8CD5F text on white 1.63:1 Fails Lc 28.3 Dividers and decoration only
#D8CD5F text on black 12.81:1 AAA Lc -74.6 Content text, not long reading

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 300.

  1. Step 50

    50

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100

    #EEECCF

    oklch(93.7% 0.038 103.9)

  3. Step 200

    200

    #E1DCA4

    oklch(88.5% 0.073 103.5)

  4. Step 300

    300 (this color)

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8CD5F 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)#DDC7540.016
Deuteranopia (no green cones)#E1CD650.015
Tritanopia (no blue cones)#E6C1B50.120
Achromatopsia (no color)#CACACA0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8CD5F

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  • #C1C2FF

    #C1C2FF

    oklch(83.4% 0.085 283.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8CD5F

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  • #FCBB5F

    #FCBB5F

    oklch(83.5% 0.132 73.7)

  • #A6DC81

    #A6DC81

    oklch(83.6% 0.132 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8CD5F

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  • #A3CDFF

    #A3CDFF

    oklch(83.6% 0.083 253.1)

  • #E4B2FF

    #E4B2FF

    oklch(83.5% 0.117 313.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8CD5F

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  • #6DD9FF

    #6DD9FF

    oklch(83.6% 0.112 223.7)

  • #FFAADC

    #FFAADC

    oklch(83.5% 0.117 343.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8CD5F

    #D8CD5F

    oklch(83.6% 0.132 103.6)

  • #3AE4E1

    #3AE4E1

    oklch(83.6% 0.132 193.1)

  • #C1C2FF

    #C1C2FF

    oklch(83.4% 0.085 283.7)

  • #FFB1B7

    #FFB1B7

    oklch(83.6% 0.092 14.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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