#CCB86C#CCB86C
#CCB86C is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.099 H 95.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB86C |
|---|---|
| RGB | rgb(204, 184, 108) |
| HSL | hsl(48, 48%, 61%) |
| HSV | hsv(48, 47%, 80%) |
| CMYK | cmyk(0%, 9.8%, 47.1%, 20%) |
| CIE-LAB | lab(74.95, -3.06, 41.02) |
| CIE-LCH | lch(74.95, 41.14, 94.27°) |
| OKLab | oklab(78.31% -0.0088 0.0987) |
| OKLCH | oklch(78.31% 0.099 95.1) |
| XYZ | xyz(44.7504, 48.2028, 21.1313) |
| Luminance | 0.4820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.17
Tan (survey)
#D1B26F
ΔE00 4.24
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 4.94
Sandstone
#C9AE74
ΔE00 5.05
Sand
#C2B280
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB86C #6C80CC
analogous
#CC886C #CCB86C #B0CC6C
triadic
#CCB86C #6CCCB8 #B86CCC
tetradic
#CCB86C #6CCC88 #6C80CC #CC6CB0
square
#CCB86C #6CCC88 #6C80CC #CC6CB0
split-complementary
#CCB86C #6CB0CC #886CCC
monochromatic
#8D7A31 #BAA141 #CCB86C #DCCE99 #ECE4C7
Accessibility & contrast
On white
1.97
#CCB86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#CCB86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB86C
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB86C | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B566
Deuteranopia (green-blind)
#CBBB6F
Tritanopia (blue-blind)
#D9AEA6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb86c; /* rgb */ color: rgb(204, 184, 108); /* oklch */ color: oklch(78.3% 0.099 95.1);
Tailwind
colors: {
custom: {
50: '#ddcd97',
500: '#ccb86c',
950: '#000000',
},
}SCSS
$custom: #ccb86c; $custom-light: #ddcd97; $custom-dark: #000000;
JSON
{
"hex": "#ccb86c",
"rgb": {
"r": 204,
"g": 184,
"b": 108
},
"hsl": {
"h": 47.5,
"s": 48.485,
"l": 61.176
},
"oklch": {
"l": 0.78306,
"c": 0.09906,
"h": 95.1
},
"luminance": 0.48201
}Semantic roles & 50–950 ramp
primary
#CCB86C
secondary
#B8BFDC
accent
#48BC2A
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E