#D2CF97

Closest named color: Pale Oak (#DBCFB0). oklch(84.3% 0.074 105.3), rgb(210, 207, 151).

Aa

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

About this color

#D2CF97 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.074 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Oak (#DBCFB0), ΔE 0.036 away. Black text reads best on it, at 13.11:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest namePale Oak (#DBCFB0)
Black text13.11:1
White text1.60:1

Values

HEX#D2CF97
RGBrgb(210, 207, 151)
HSLhsl(57, 40%, 71%)
OKLCHoklch(84.3% 0.074 105.3)

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 #D2CF97 1.60:1 Fails Lc -30.6 Non-text elements, placeholder text
Black text on #D2CF97 13.11:1 AAA Lc 76.7 Fine for body text
#D2CF97 text on white 1.60:1 Fails Lc 27.1 Dividers and decoration only
#D2CF97 text on black 13.11:1 AAA Lc -75.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 300.

  1. Step 50

    50

    #F6F6EE

    oklch(97.1% 0.011 106.6)

  2. Step 100

    100

    #EBEBDB

    oklch(93.6% 0.021 106.8)

  3. Step 200

    200

    #DCDBBD

    oklch(88.4% 0.04 105.6)

  4. Step 300

    300 (this color)

    #D2CF97

    oklch(84.3% 0.074 105.3)

  5. Step 400

    400

    #ABA545

    oklch(70.8% 0.118 105.7)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2CF97 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)#D9CB930.013
Deuteranopia (no green cones)#DACE990.012
Tritanopia (no blue cones)#DBC8C00.065
Achromatopsia (no color)#CCCCCC0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2CF97

    #D2CF97

    oklch(84.3% 0.074 105.3)

  • #C6C5FA

    #C6C5FA

    oklch(84.2% 0.074 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2CF97

    #D2CF97

    oklch(84.3% 0.074 105.3)

  • #E8C596

    #E8C596

    oklch(84.2% 0.073 74.7)

  • #B7D7A7

    #B7D7A7

    oklch(84.3% 0.074 135.3)

Open the analogous palette in the generator

Split complementary

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

  • #D2CF97

    #D2CF97

    oklch(84.3% 0.074 105.3)

  • #ACCEFC

    #ACCEFC

    oklch(84.3% 0.074 256.1)

  • #DEBEED

    #DEBEED

    oklch(84.4% 0.073 315)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2CF97

    #D2CF97

    oklch(84.3% 0.074 105.3)

  • #97D6F0

    #97D6F0

    oklch(84.3% 0.073 225.6)

  • #F0B9D6

    #F0B9D6

    oklch(84.4% 0.073 345.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2CF97

    #D2CF97

    oklch(84.3% 0.074 105.3)

  • #91DBDB

    #91DBDB

    oklch(84.3% 0.073 195.8)

  • #C6C5FA

    #C6C5FA

    oklch(84.2% 0.074 285.6)

  • #F8B9BC

    #F8B9BC

    oklch(84.4% 0.073 15.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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