#CDC7AB

Closest named color: Ash Gray (#BFC8AD). oklch(82.7% 0.038 97.2), rgb(205, 199, 171).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (83%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.35:1
White text1.69:1

Values

HEX#CDC7AB
RGBrgb(205, 199, 171)
HSLhsl(49, 25%, 74%)
OKLCHoklch(82.7% 0.038 97.2)

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 #CDC7AB 1.69:1 Fails Lc -34.2 Non-text elements, placeholder text
Black text on #CDC7AB 12.35:1 AAA Lc 73.4 Content text, not long reading
#CDC7AB text on white 1.69:1 Fails Lc 30.4 Non-text elements, placeholder text
#CDC7AB text on black 12.35:1 AAA Lc -72.4 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9CA

    oklch(88.4% 0.021 94.5)

  4. Step 300

    300 (this color)

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  5. Step 400

    400

    #ABA175

    oklch(70.6% 0.061 96.8)

  6. Step 500

    500

    #978A51

    oklch(63.2% 0.078 96.9)

  7. Step 600

    600

    #817334

    oklch(55.5% 0.085 97)

  8. Step 700

    700

    #6D6126

    oklch(49.1% 0.08 97.8)

  9. Step 800

    800

    #594F21

    oklch(42.7% 0.066 97.2)

  10. Step 900

    900

    #494220

    oklch(37.8% 0.052 98)

  11. Step 950

    950

    #2B2714

    oklch(27.2% 0.032 97.8)

Export this scale for Tailwind in the Tailwind colors tool

#CDC7AB 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)#CDC5A90.005
Deuteranopia (no green cones)#CFC8AC0.004
Tritanopia (no blue cones)#D3C3BF0.034
Achromatopsia (no color)#C6C6C60.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC7AB

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  • #C0C5E0

    #C0C5E0

    oklch(82.8% 0.038 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC7AB

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  • #D8C2AD

    #D8C2AD

    oklch(82.7% 0.038 65.9)

  • #BFCBB1

    #BFCBB1

    oklch(82.6% 0.038 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDC7AB

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  • #B3C9DF

    #B3C9DF

    oklch(82.6% 0.039 248.3)

  • #CDC0DA

    #CDC0DA

    oklch(82.7% 0.038 307.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC7AB

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  • #ABCDD7

    #ABCDD7

    oklch(82.7% 0.039 217.5)

  • #D8BDCF

    #D8BDCF

    oklch(82.7% 0.039 338.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC7AB

    #CDC7AB

    oklch(82.7% 0.038 97.2)

  • #ABCFCA

    #ABCFCA

    oklch(82.7% 0.039 186.2)

  • #C0C5E0

    #C0C5E0

    oklch(82.8% 0.038 277.2)

  • #DEBDC2

    #DEBDC2

    oklch(82.8% 0.038 7.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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