#D2CD72

Closest named color: Greenish Beige (#C9D179). oklch(83.3% 0.114 105.8), rgb(210, 205, 114).

Aa

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

About this color

#D2CD72 is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.114 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.015 away. Black text reads best on it, at 12.71:1.

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text12.71:1
White text1.65:1

Values

HEX#D2CD72
RGBrgb(210, 205, 114)
HSLhsl(57, 52%, 64%)
OKLCHoklch(83.3% 0.114 105.8)

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 #D2CD72 1.65:1 Fails Lc -32.4 Non-text elements, placeholder text
Black text on #D2CD72 12.71:1 AAA Lc 75.0 Fine for body text
#D2CD72 text on white 1.65:1 Fails Lc 28.8 Dividers and decoration only
#D2CD72 text on black 12.71:1 AAA Lc -74.1 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

    #F6F6EB

    oklch(97% 0.015 106.7)

  2. Step 100

    100

    #ECECD3

    oklch(93.6% 0.033 107)

  3. Step 200

    200

    #DEDCAC

    oklch(88.4% 0.063 105.6)

  4. Step 300

    300 (this color)

    #D2CD72

    oklch(83.3% 0.114 105.8)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#D2CD72 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)#DBC76A0.018
Deuteranopia (no green cones)#DDCB760.018
Tritanopia (no blue cones)#DEC2B70.103
Achromatopsia (no color)#C9C9C90.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2CD72

    #D2CD72

    oklch(83.3% 0.114 105.8)

  • #C3C1FF

    #C3C1FF

    oklch(83.4% 0.086 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2CD72

    #D2CD72

    oklch(83.3% 0.114 105.8)

  • #F3BE70

    #F3BE70

    oklch(83.3% 0.114 75.8)

  • #A7D98E

    #A7D98E

    oklch(83.2% 0.113 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2CD72

    #D2CD72

    oklch(83.3% 0.114 105.8)

  • #A4CBFF

    #A4CBFF

    oklch(83.3% 0.085 255.8)

  • #E5B1FB

    #E5B1FB

    oklch(83.2% 0.115 315.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2CD72

    #D2CD72

    oklch(83.3% 0.114 105.8)

  • #71D7FF

    #71D7FF

    oklch(83.3% 0.11 226.1)

  • #FEAAD8

    #FEAAD8

    oklch(83.3% 0.113 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2CD72

    #D2CD72

    oklch(83.3% 0.114 105.8)

  • #5DDFE0

    #5DDFE0

    oklch(83.3% 0.113 195.9)

  • #C3C1FF

    #C3C1FF

    oklch(83.4% 0.086 285.8)

  • #FFB0B4

    #FFB0B4

    oklch(83.4% 0.093 15.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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