#CCB866#CCB866
#CCB866 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.105 H 96.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB866 |
|---|---|
| RGB | rgb(204, 184, 102) |
| HSL | hsl(48, 50%, 60%) |
| HSV | hsv(48, 50%, 80%) |
| CMYK | cmyk(0%, 9.8%, 50%, 20%) |
| CIE-LAB | lab(74.88, -3.62, 43.93) |
| CIE-LCH | lch(74.88, 44.08, 94.71°) |
| OKLab | oklab(78.22% -0.011 0.1047) |
| OKLCH | oklch(78.22% 0.105 96) |
| XYZ | xyz(44.4420, 48.0794, 19.5071) |
| Luminance | 0.4808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.34
Darkkhaki
#BDB76B
ΔE00 4.39
Tan (survey)
#D1B26F
ΔE00 4.86
Sand (survey)
#E2CA76
ΔE00 4.88
Sandstone
#C9AE74
ΔE00 5.85
Sandy Brown
#C4A661
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB866 #667ACC
analogous
#CC8566 #CCB866 #ADCC66
triadic
#CCB866 #66CCB8 #B866CC
tetradic
#CCB866 #66CC85 #667ACC #CC66AD
square
#CCB866 #66CC85 #667ACC #CC66AD
split-complementary
#CCB866 #66ADCC #8566CC
monochromatic
#8A782E #B8A03D #CCB866 #DBCD94 #EBE3C2
Accessibility & contrast
On white
1.98
#CCB866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#CCB866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB866
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB866 | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45F
Deuteranopia (green-blind)
#CCBB69
Tritanopia (blue-blind)
#DAADA5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb866; /* rgb */ color: rgb(204, 184, 102); /* oklch */ color: oklch(78.2% 0.105 96.0);
Tailwind
colors: {
custom: {
50: '#ddcd93',
500: '#ccb866',
950: '#000000',
},
}SCSS
$custom: #ccb866; $custom-light: #ddcd93; $custom-dark: #000000;
JSON
{
"hex": "#ccb866",
"rgb": {
"r": 204,
"g": 184,
"b": 102
},
"hsl": {
"h": 48.235,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.78219,
"c": 0.10527,
"h": 96
},
"luminance": 0.48078
}Semantic roles & 50–950 ramp
primary
#CCB866
secondary
#B3BBDB
accent
#6ADA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E