#CDC39F

Closest named color: Ash Gray (#BFC8AD). oklch(81.6% 0.05 94.3), rgb(205, 195, 159).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (82%)
Chromamuted (0.050)
Temperaturewarm
Nearest nameAsh Gray (#BFC8AD)
Black text11.90:1
White text1.76:1

Values

HEX#CDC39F
RGBrgb(205, 195, 159)
HSLhsl(47, 32%, 71%)
OKLCHoklch(81.6% 0.05 94.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 #CDC39F 1.76:1 Fails Lc -36.3 Non-text elements, placeholder text
Black text on #CDC39F 11.90:1 AAA Lc 71.5 Content text, not long reading
#CDC39F text on white 1.76:1 Fails Lc 32.4 Non-text elements, placeholder text
#CDC39F text on black 11.90:1 AAA Lc -70.3 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C5

    oklch(88.5% 0.028 93.1)

  4. Step 300

    300 (this color)

    #CDC39F

    oklch(81.6% 0.05 94.3)

  5. Step 400

    400

    #B0A066

    oklch(70.6% 0.079 94.5)

  6. Step 500

    500

    #9D8839

    oklch(63% 0.102 94.4)

  7. Step 600

    600

    #88710D

    oklch(55.5% 0.11 94.2)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E05

    oklch(42.8% 0.085 94.9)

  10. Step 900

    900

    #4D4111

    oklch(37.8% 0.067 94.7)

  11. Step 950

    950

    #2D260C

    oklch(27% 0.042 94.4)

Export this scale for Tailwind in the Tailwind colors tool

#CDC39F 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)#CBC19D0.006
Deuteranopia (no green cones)#CEC4A00.003
Tritanopia (no blue cones)#D5BDB90.046
Achromatopsia (no color)#C3C3C30.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDC39F

    #CDC39F

    oklch(81.6% 0.05 94.3)

  • #B9C1E4

    #B9C1E4

    oklch(81.6% 0.05 275.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDC39F

    #CDC39F

    oklch(81.6% 0.05 94.3)

  • #DABDA2

    #DABDA2

    oklch(81.6% 0.049 65)

  • #BCC9A6

    #BCC9A6

    oklch(81.7% 0.05 124.1)

Open the analogous palette in the generator

Split complementary

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

  • #CDC39F

    #CDC39F

    oklch(81.6% 0.05 94.3)

  • #A9C7E1

    #A9C7E1

    oklch(81.6% 0.049 244.6)

  • #CABBDE

    #CABBDE

    oklch(81.6% 0.051 304.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDC39F

    #CDC39F

    oklch(81.6% 0.05 94.3)

  • #9FCCD7

    #9FCCD7

    oklch(81.7% 0.05 214.3)

  • #D8B7D0

    #D8B7D0

    oklch(81.6% 0.05 334.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDC39F

    #CDC39F

    oklch(81.6% 0.05 94.3)

  • #9FCEC7

    #9FCEC7

    oklch(81.6% 0.05 185)

  • #B9C1E4

    #B9C1E4

    oklch(81.6% 0.05 275.1)

  • #E0B6BF

    #E0B6BF

    oklch(81.6% 0.05 3.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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