#CCB85E#CCB85E
#CCB85E is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.113 H 97.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB85E |
|---|---|
| RGB | rgb(204, 184, 94) |
| HSL | hsl(49, 52%, 58%) |
| HSV | hsv(49, 54%, 80%) |
| CMYK | cmyk(0%, 9.8%, 53.9%, 20%) |
| CIE-LAB | lab(74.78, -4.31, 47.74) |
| CIE-LCH | lch(74.78, 47.94, 95.16°) |
| OKLab | oklab(78.11% -0.0139 0.1123) |
| OKLCH | oklch(78.11% 0.113 97) |
| XYZ | xyz(44.0643, 47.9283, 17.5175) |
| Luminance | 0.4793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.79
Desert
#CCAD60
ΔE00 4.85
Sand (survey)
#E2CA76
ΔE00 5.09
Tan (survey)
#D1B26F
ΔE00 5.78
Sandy Brown
#C4A661
ΔE00 6.66
Sandstone
#C9AE74
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB85E #5E72CC
analogous
#CC815E #CCB85E #A9CC5E
triadic
#CCB85E #5ECCB8 #B85ECC
tetradic
#CCB85E #5ECC81 #5E72CC #CC5EA9
square
#CCB85E #5ECC81 #5E72CC #CC5EA9
split-complementary
#CCB85E #5EA9CC #815ECC
monochromatic
#85752A #B49D39 #CCB85E #DBCC8C #E9E1BB
Accessibility & contrast
On white
1.98
#CCB85E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#CCB85E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB85E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB85E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB85E | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B456
Deuteranopia (green-blind)
#CDBB62
Tritanopia (blue-blind)
#DAADA3
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #ccb85e; /* rgb */ color: rgb(204, 184, 94); /* oklch */ color: oklch(78.1% 0.113 97.0);
Tailwind
colors: {
custom: {
50: '#decd8e',
500: '#ccb85e',
950: '#000000',
},
}SCSS
$custom: #ccb85e; $custom-light: #decd8e; $custom-dark: #000000;
JSON
{
"hex": "#ccb85e",
"rgb": {
"r": 204,
"g": 184,
"b": 94
},
"hsl": {
"h": 49.091,
"s": 51.887,
"l": 58.431
},
"oklch": {
"l": 0.78113,
"c": 0.11316,
"h": 97
},
"luminance": 0.47927
}Semantic roles & 50–950 ramp
primary
#CCB85E
secondary
#ADB5D9
accent
#66DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D