#CCC39F

Closest named color: Ash Gray (#BFC8AD). oklch(81.5% 0.049 95.6), rgb(204, 195, 159).

Aa

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

About this color

#CCC39F is a light, muted yellow. In OKLCH its lightness is 82%, its chroma 0.049 and its hue 96°. 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 11.87:1.

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

Values

HEX#CCC39F
RGBrgb(204, 195, 159)
HSLhsl(48, 31%, 71%)
OKLCHoklch(81.5% 0.049 95.6)

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 #CCC39F 1.76:1 Fails Lc -36.5 Non-text elements, placeholder text
Black text on #CCC39F 11.87:1 AAA Lc 71.4 Content text, not long reading
#CCC39F text on white 1.76:1 Fails Lc 32.5 Non-text elements, placeholder text
#CCC39F text on black 11.87:1 AAA Lc -70.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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DED9C5

    oklch(88.4% 0.027 95.4)

  4. Step 300

    300 (this color)

    #CCC39F

    oklch(81.5% 0.049 95.6)

  5. Step 400

    400

    #AFA166

    oklch(70.7% 0.08 96.4)

  6. Step 500

    500

    #9C893A

    oklch(63.1% 0.101 95.8)

  7. Step 600

    600

    #87720F

    oklch(55.6% 0.11 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5D4E07

    oklch(42.7% 0.084 95.7)

  10. Step 900

    900

    #4C4112

    oklch(37.7% 0.066 95.8)

  11. Step 950

    950

    #2D260C

    oklch(27% 0.042 94.4)

Export this scale for Tailwind in the Tailwind colors tool

#CCC39F 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)#CDC4A00.003
Tritanopia (no blue cones)#D3BDB90.045
Achromatopsia (no color)#C3C3C30.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCC39F

    #CCC39F

    oklch(81.5% 0.049 95.6)

  • #B9C1E3

    #B9C1E3

    oklch(81.6% 0.049 274.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCC39F

    #CCC39F

    oklch(81.5% 0.049 95.6)

  • #D9BDA2

    #D9BDA2

    oklch(81.5% 0.049 66)

  • #BBC9A6

    #BBC9A6

    oklch(81.6% 0.05 125.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCC39F

    #CCC39F

    oklch(81.5% 0.049 95.6)

  • #A9C7E1

    #A9C7E1

    oklch(81.6% 0.049 244.6)

  • #CABBDD

    #CABBDD

    oklch(81.5% 0.05 305.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCC39F

    #CCC39F

    oklch(81.5% 0.049 95.6)

  • #9FCBD7

    #9FCBD7

    oklch(81.5% 0.049 216.3)

  • #D8B7CF

    #D8B7CF

    oklch(81.5% 0.049 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCC39F

    #CCC39F

    oklch(81.5% 0.049 95.6)

  • #9FCEC7

    #9FCEC7

    oklch(81.6% 0.05 185)

  • #B9C1E3

    #B9C1E3

    oklch(81.6% 0.049 274.8)

  • #E0B6BE

    #E0B6BE

    oklch(81.6% 0.05 5.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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