#CCB96F

Closest named color: Dark Khaki (#BDB76B). oklch(78.6% 0.097 95.4), rgb(204, 185, 111).

Aa

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

About this color

#CCB96F is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.097 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.024 away. Black text reads best on it, at 10.73:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.73:1
White text1.95:1

Values

HEX#CCB96F
RGBrgb(204, 185, 111)
HSLhsl(48, 48%, 62%)
OKLCHoklch(78.6% 0.097 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 #CCB96F 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #CCB96F 10.73:1 AAA Lc 66.3 Content text, not long reading
#CCB96F text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#CCB96F text on black 10.73:1 AAA Lc -64.8 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

    #F8F6EC

    oklch(97.2% 0.013 97.4)

  2. Step 100

    100

    #EFEAD5

    oklch(93.5% 0.028 95.9)

  3. Step 200

    200

    #E4DAB2

    oklch(88.6% 0.054 95.6)

  4. Step 300

    300 (this color)

    #CCB96F

    oklch(78.6% 0.097 95.4)

  5. Step 400

    400

    #BD9F00

    oklch(70.8% 0.146 95.4)

  6. Step 500

    500

    #A28800

    oklch(63.2% 0.13 95.4)

  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

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCB96F 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)#C7B6690.012
Deuteranopia (no green cones)#CCBC720.008
Tritanopia (no blue cones)#D9AFA70.088
Achromatopsia (no color)#B9B9B90.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCB96F

    #CCB96F

    oklch(78.6% 0.097 95.4)

  • #A7B4F7

    #A7B4F7

    oklch(78.5% 0.097 275.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCB96F

    #CCB96F

    oklch(78.6% 0.097 95.4)

  • #E4AD75

    #E4AD75

    oklch(78.6% 0.097 66.1)

  • #AAC47F

    #AAC47F

    oklch(78.4% 0.097 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCB96F

    #CCB96F

    oklch(78.6% 0.097 95.4)

  • #84C0F4

    #84C0F4

    oklch(78.6% 0.097 245.6)

  • #C8A9EB

    #C8A9EB

    oklch(78.5% 0.098 305.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCB96F

    #CCB96F

    oklch(78.6% 0.097 95.4)

  • #68C9E0

    #68C9E0

    oklch(78.5% 0.097 215.2)

  • #E1A2D1

    #E1A2D1

    oklch(78.6% 0.096 336)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCB96F

    #CCB96F

    oklch(78.6% 0.097 95.4)

  • #68CDC2

    #68CDC2

    oklch(78.4% 0.096 186.1)

  • #A7B4F7

    #A7B4F7

    oklch(78.5% 0.097 275.5)

  • #EF9FB0

    #EF9FB0

    oklch(78.6% 0.097 5.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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