#CDC59F

Closest named color: Ash Gray (#BFC8AD). oklch(82% 0.052 97.5), rgb(205, 197, 159).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (82%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text12.08:1
White text1.73:1

Values

HEX#CDC59F
RGBrgb(205, 197, 159)
HSLhsl(50, 32%, 71%)
OKLCHoklch(82% 0.052 97.5)

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 #CDC59F 1.73:1 Fails Lc -35.5 Non-text elements, placeholder text
Black text on #CDC59F 12.08:1 AAA Lc 72.3 Content text, not long reading
#CDC59F text on white 1.73:1 Fails Lc 31.6 Non-text elements, placeholder text
#CDC59F text on black 12.08:1 AAA Lc -71.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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC4

    oklch(88.6% 0.03 98.5)

  4. Step 300

    300 (this color)

    #CDC59F

    oklch(82% 0.052 97.5)

  5. Step 400

    400

    #AFA164

    oklch(70.7% 0.082 96.8)

  6. Step 500

    500

    #9B8A35

    oklch(63.2% 0.106 97.9)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4C410E

    oklch(37.6% 0.069 96.5)

  11. Step 950

    950

    #2C260B

    oklch(26.9% 0.043 96.8)

Export this scale for Tailwind in the Tailwind colors tool

#CDC59F 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)#CDC39D0.005
Deuteranopia (no green cones)#CFC6A00.004
Tritanopia (no blue cones)#D4BFBB0.048
Achromatopsia (no color)#C4C4C40.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC59F

    #CDC59F

    oklch(82% 0.052 97.5)

  • #BBC2E6

    #BBC2E6

    oklch(82% 0.051 276.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC59F

    #CDC59F

    oklch(82% 0.052 97.5)

  • #DBBEA1

    #DBBEA1

    oklch(81.9% 0.051 67)

  • #BBCBA7

    #BBCBA7

    oklch(82% 0.052 127)

Open the analogous palette in the generator

Split complementary

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

  • #CDC59F

    #CDC59F

    oklch(82% 0.052 97.5)

  • #AAC8E5

    #AAC8E5

    oklch(82% 0.052 247.6)

  • #CDBCDF

    #CDBCDF

    oklch(82% 0.052 307.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC59F

    #CDC59F

    oklch(82% 0.052 97.5)

  • #9FCDDA

    #9FCDDA

    oklch(82% 0.051 216.9)

  • #DBB8D0

    #DBB8D0

    oklch(82% 0.051 337.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC59F

    #CDC59F

    oklch(82% 0.052 97.5)

  • #9ED0CA

    #9ED0CA

    oklch(82.1% 0.053 187.1)

  • #BBC2E6

    #BBC2E6

    oklch(82% 0.051 276.6)

  • #E3B7BE

    #E3B7BE

    oklch(82% 0.052 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 #CDC59F, closest first.

Similar named colors

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

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