#CDC7A6

Closest named color: Ash Gray (#BFC8AD). oklch(82.6% 0.045 98.8), rgb(205, 199, 166).

Aa

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

About this color

#CDC7A6 is a light, muted yellow. In OKLCH its lightness is 83%, its chroma 0.045 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.020 away. Black text reads best on it, at 12.31:1.

Hue familyYellows
Lightnesslight (83%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.31:1
White text1.70:1

Values

HEX#CDC7A6
RGBrgb(205, 199, 166)
HSLhsl(51, 28%, 73%)
OKLCHoklch(82.6% 0.045 98.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 #CDC7A6 1.70:1 Fails Lc -34.4 Non-text elements, placeholder text
Black text on #CDC7A6 12.31:1 AAA Lc 73.3 Content text, not long reading
#CDC7A6 text on white 1.70:1 Fails Lc 30.5 Non-text elements, placeholder text
#CDC7A6 text on black 12.31:1 AAA Lc -72.2 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300 (this color)

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  5. Step 400

    400

    #ACA26D

    oklch(70.8% 0.072 98.8)

  6. Step 500

    500

    #978A45

    oklch(63% 0.091 98.8)

  7. Step 600

    600

    #827423

    oklch(55.6% 0.1 99.2)

  8. Step 700

    700

    #6E6115

    oklch(49.1% 0.093 99)

  9. Step 800

    800

    #5A4F15

    oklch(42.7% 0.077 98.2)

  10. Step 900

    900

    #4A4219

    oklch(37.8% 0.06 98.4)

  11. Step 950

    950

    #2B2710

    oklch(27.1% 0.038 99.6)

Export this scale for Tailwind in the Tailwind colors tool

#CDC7A6 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)#CEC5A40.005
Deuteranopia (no green cones)#D0C7A70.005
Tritanopia (no blue cones)#D3C2BE0.041
Achromatopsia (no color)#C6C6C60.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC7A6

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  • #BFC4E4

    #BFC4E4

    oklch(82.7% 0.045 278.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC7A6

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  • #DAC1A7

    #DAC1A7

    oklch(82.5% 0.045 68.2)

  • #BDCCAD

    #BDCCAD

    oklch(82.5% 0.045 128.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDC7A6

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  • #B0C9E3

    #B0C9E3

    oklch(82.6% 0.046 249.4)

  • #CEBFDD

    #CEBFDD

    oklch(82.6% 0.044 307.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC7A6

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  • #A6CEDA

    #A6CEDA

    oklch(82.7% 0.045 218)

  • #DBBBD0

    #DBBBD0

    oklch(82.6% 0.046 338.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC7A6

    #CDC7A6

    oklch(82.6% 0.045 98.8)

  • #A6D0CC

    #A6D0CC

    oklch(82.6% 0.045 189.2)

  • #BFC4E4

    #BFC4E4

    oklch(82.7% 0.045 278.4)

  • #E1BBC0

    #E1BBC0

    oklch(82.7% 0.044 9.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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