#CCC08E#CCC08E
#CCC08E is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.068 H 96.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC08E |
|---|---|
| RGB | rgb(204, 192, 142) |
| HSL | hsl(48, 38%, 68%) |
| HSV | hsv(48, 30%, 80%) |
| CMYK | cmyk(0%, 5.9%, 30.4%, 20%) |
| CIE-LAB | lab(77.57, -3.41, 26.78) |
| CIE-LCH | lch(77.57, 27.00, 97.27°) |
| OKLab | oklab(80.55% -0.0073 0.0672) |
| OKLCH | oklch(80.55% 0.068 96.2) |
| XYZ | xyz(48.6344, 52.4908, 33.1557) |
| Luminance | 0.5249 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.80
Very Light Brown
#D3B683
ΔE00 6.06
Putty
#BEAE8A
ΔE00 6.15
Beige (survey)
#E6DAA6
ΔE00 6.29
Darkkhaki
#BDB76B
ΔE00 6.53
Sandstone
#C9AE74
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC08E #8E9ACC
analogous
#CCA18E #CCC08E #B9CC8E
triadic
#CCC08E #8ECCC0 #C08ECC
tetradic
#CCC08E #8ECCA1 #8E9ACC #CC8EB9
square
#CCC08E #8ECCA1 #8E9ACC #CC8EB9
split-complementary
#CCC08E #8EB9CC #A18ECC
monochromatic
#9A8A46 #B9A864 #CCC08E #DFD8B8 #F2EFE2
Accessibility & contrast
On white
1.83
#CCC08E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#CCC08E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC08E
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC08E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC08E | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CABD8B
Deuteranopia (green-blind)
#CDC290
Tritanopia (blue-blind)
#D6B9B3
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #ccc08e; /* rgb */ color: rgb(204, 192, 142); /* oklch */ color: oklch(80.5% 0.068 96.2);
Tailwind
colors: {
custom: {
50: '#dcd2af',
500: '#ccc08e',
950: '#000000',
},
}SCSS
$custom: #ccc08e; $custom-light: #dcd2af; $custom-dark: #000000;
JSON
{
"hex": "#ccc08e",
"rgb": {
"r": 204,
"g": 192,
"b": 142
},
"hsl": {
"h": 48.387,
"s": 37.805,
"l": 67.843
},
"oklch": {
"l": 0.8055,
"c": 0.06762,
"h": 96.2
},
"luminance": 0.5249
}Semantic roles & 50–950 ramp
primary
#CCC08E
secondary
#5D6AA1
accent
#4DB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381