#CCB960#CCB960
#CCB960 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.112 H 97.5°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB960 |
|---|---|
| RGB | rgb(204, 185, 96) |
| HSL | hsl(49, 51%, 59%) |
| HSV | hsv(49, 53%, 80%) |
| CMYK | cmyk(0%, 9.3%, 52.9%, 20%) |
| CIE-LAB | lab(75.06, -4.67, 47.11) |
| CIE-LCH | lch(75.06, 47.34, 95.66°) |
| OKLab | oklab(78.35% -0.0147 0.1111) |
| OKLCH | oklch(78.35% 0.112 97.5) |
| XYZ | xyz(44.3636, 48.3816, 18.0658) |
| Luminance | 0.4838 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.51
Sand (survey)
#E2CA76
ΔE00 4.92
Desert
#CCAD60
ΔE00 5.10
Tan (survey)
#D1B26F
ΔE00 5.91
Sandy Brown
#C4A661
ΔE00 6.88
Sandstone
#C9AE74
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB960 #6073CC
analogous
#CC8360 #CCB960 #A9CC60
triadic
#CCB960 #60CCB9 #B960CC
tetradic
#CCB960 #60CC83 #6073CC #CC60A9
square
#CCB960 #60CC83 #6073CC #CC60A9
split-complementary
#CCB960 #60A9CC #8360CC
monochromatic
#86762B #B59F3A #CCB960 #DBCD8E #EAE2BD
Accessibility & contrast
On white
1.97
#CCB960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#CCB960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB960
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB960 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B558
Deuteranopia (green-blind)
#CDBC64
Tritanopia (blue-blind)
#DAAEA5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ccb960; /* rgb */ color: rgb(204, 185, 96); /* oklch */ color: oklch(78.3% 0.112 97.5);
Tailwind
colors: {
custom: {
50: '#decd8f',
500: '#ccb960',
950: '#000000',
},
}SCSS
$custom: #ccb960; $custom-light: #decd8f; $custom-dark: #000000;
JSON
{
"hex": "#ccb960",
"rgb": {
"r": 204,
"g": 185,
"b": 96
},
"hsl": {
"h": 49.444,
"s": 51.429,
"l": 58.824
},
"oklch": {
"l": 0.78346,
"c": 0.1121,
"h": 97.5
},
"luminance": 0.4838
}Semantic roles & 50–950 ramp
primary
#CCB960
secondary
#AFB6D9
accent
#66DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130D
muted
#83827D