#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 family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.120) |
| Temperature | warm |
| Nearest name | Desert (#CCAD60) |
| Black text | 9.49:1 |
| White text | 2.21:1 |
Values
| HEX | #CCAB4B |
| RGB | rgb(204, 171, 75) |
| HSL | hsl(45, 56%, 55%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F8F5EE
oklch(97.1% 0.01 87.5)
-
Step 100
100
#EFEADA
oklch(93.7% 0.022 92.5)
-
Step 200
200
#E4D9BA
oklch(88.6% 0.043 90.8)
-
Step 300
300
#D3BF88
oklch(80.8% 0.076 90.4)
-
Step 400
400 (this color)
#CCAB4B
oklch(75.2% 0.12 90.2)
-
Step 500
500
#A78500
oklch(63.1% 0.129 90.6)
-
Step 600
600
#8D6F00
oklch(55.5% 0.113 89.9)
-
Step 700
700
#775D00
oklch(49.1% 0.1 89.6)
-
Step 800
800
#614C00
oklch(42.6% 0.087 90.4)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#312500
oklch(27.1% 0.055 90.3)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #BDA941 | 0.027 |
| Deuteranopia (no green cones) | #C5B24F | 0.019 |
| Tritanopia (no blue cones) | #DC9E96 | 0.109 |
| Achromatopsia (no color) | #AEAEAE | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Desert #CCAD60 ΔE 0.019
- Sand Brown #CBA560 ΔE 0.030
- Goldenrod #DAA520 ΔE 0.030
- Burnt Yellow #D5AB09 ΔE 0.033
- Dark Khaki #BDB76B ΔE 0.038
- Camel #C69F59 ΔE 0.040
- Sandstone #C9AE74 ΔE 0.040
- Yellow Ochre #CB9D06 ΔE 0.042
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.