#CCAB4B

Closest named color: Desert (#CCAD60). oklch(75.2% 0.12 90.2), rgb(204, 171, 75).

Aa

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

About this color

#CCAB4B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.120 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.019 away. Black text reads best on it, at 9.49:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.49:1
White text2.21:1

Values

HEX#CCAB4B
RGBrgb(204, 171, 75)
HSLhsl(45, 56%, 55%)
OKLCHoklch(75.2% 0.12 90.2)

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 #CCAB4B 2.21:1 Fails Lc -48.2 Large or bold text, headings
Black text on #CCAB4B 9.49:1 AAA Lc 60.5 Content text, not long reading
#CCAB4B text on white 2.21:1 Fails Lc 43.4 Non-text elements, placeholder text
#CCAB4B text on black 9.49:1 AAA Lc -58.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEADA

    oklch(93.7% 0.022 92.5)

  3. Step 200

    200

    #E4D9BA

    oklch(88.6% 0.043 90.8)

  4. Step 300

    300

    #D3BF88

    oklch(80.8% 0.076 90.4)

  5. Step 400

    400 (this color)

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCAB4B 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)#BDA9410.027
Deuteranopia (no green cones)#C5B24F0.019
Tritanopia (no blue cones)#DC9E960.109
Achromatopsia (no color)#AEAEAE0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAB4B

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  • #91AAFB

    #91AAFB

    oklch(75.1% 0.121 270.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAB4B

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  • #E69C5B

    #E69C5B

    oklch(75.3% 0.12 60.7)

  • #A5BA5E

    #A5BA5E

    oklch(75.3% 0.121 120)

Open the analogous palette in the generator

Split complementary

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

  • #CCAB4B

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  • #60B8F3

    #60B8F3

    oklch(75.2% 0.12 240.3)

  • #BB9DEF

    #BB9DEF

    oklch(75.3% 0.119 300.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAB4B

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  • #30C3D9

    #30C3D9

    oklch(75.3% 0.121 210.2)

  • #DA92D3

    #DA92D3

    oklch(75.3% 0.121 330.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAB4B

    #CCAB4B

    oklch(75.2% 0.12 90.2)

  • #3DC7B2

    #3DC7B2

    oklch(75.2% 0.12 180.5)

  • #91AAFB

    #91AAFB

    oklch(75.1% 0.121 270.2)

  • #ED8DAB

    #ED8DAB

    oklch(75.2% 0.121 0.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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