#CDC297

Closest named color: Ash Gray (#BFC8AD). oklch(81.2% 0.059 95.4), rgb(205, 194, 151).

Aa

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

About this color

#CDC297 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.059 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.031 away. Black text reads best on it, at 11.75:1.

Hue familyYellows
Lightnesslight (81%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text11.75:1
White text1.78:1

Values

HEX#CDC297
RGBrgb(205, 194, 151)
HSLhsl(48, 35%, 70%)
OKLCHoklch(81.2% 0.059 95.4)

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 #CDC297 1.78:1 Fails Lc -37.0 Non-text elements, placeholder text
Black text on #CDC297 11.75:1 AAA Lc 70.9 Content text, not long reading
#CDC297 text on white 1.78:1 Fails Lc 33.0 Non-text elements, placeholder text
#CDC297 text on black 11.75:1 AAA Lc -69.7 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #DFD9C2

    oklch(88.4% 0.031 94.9)

  4. Step 300

    300 (this color)

    #CDC297

    oklch(81.2% 0.059 95.4)

  5. Step 400

    400

    #B2A059

    oklch(70.6% 0.094 95.5)

  6. Step 500

    500

    #A0881F

    oklch(63.1% 0.12 95.2)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2605

    oklch(27% 0.05 95.3)

Export this scale for Tailwind in the Tailwind colors tool

#CDC297 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)#CBC0940.007
Deuteranopia (no green cones)#CEC3980.003
Tritanopia (no blue cones)#D6BCB60.052
Achromatopsia (no color)#C2C2C20.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC297

    #CDC297

    oklch(81.2% 0.059 95.4)

  • #B6BFE8

    #B6BFE8

    oklch(81.1% 0.059 275.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC297

    #CDC297

    oklch(81.2% 0.059 95.4)

  • #DDBB9A

    #DDBB9A

    oklch(81.3% 0.059 66)

  • #B8C9A0

    #B8C9A0

    oklch(81.2% 0.059 126)

Open the analogous palette in the generator

Split complementary

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

  • #CDC297

    #CDC297

    oklch(81.2% 0.059 95.4)

  • #A3C6E6

    #A3C6E6

    oklch(81.2% 0.059 246.2)

  • #CBB9E1

    #CBB9E1

    oklch(81.4% 0.059 305.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC297

    #CDC297

    oklch(81.2% 0.059 95.4)

  • #96CCDA

    #96CCDA

    oklch(81.3% 0.059 215.5)

  • #DBB4D1

    #DBB4D1

    oklch(81.3% 0.059 335.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC297

    #CDC297

    oklch(81.2% 0.059 95.4)

  • #97CFC7

    #97CFC7

    oklch(81.4% 0.059 185.1)

  • #B6BFE8

    #B6BFE8

    oklch(81.1% 0.059 275.3)

  • #E4B2BC

    #E4B2BC

    oklch(81.1% 0.059 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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