#CCC080#CCC080
#CCC080 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.084 H 98.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC080 |
|---|---|
| RGB | rgb(204, 192, 128) |
| HSL | hsl(51, 43%, 65%) |
| HSV | hsv(51, 37%, 80%) |
| CMYK | cmyk(0%, 5.9%, 37.3%, 20%) |
| CIE-LAB | lab(77.34, -5.12, 33.80) |
| CIE-LCH | lch(77.34, 34.19, 98.62°) |
| OKLab | oklab(80.29% -0.013 0.0833) |
| OKLCH | oklch(80.29% 0.084 98.9) |
| XYZ | xyz(47.6486, 52.0965, 27.9635) |
| Luminance | 0.5210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.11
Sand
#C2B280
ΔE00 4.78
Sand (survey)
#E2CA76
ΔE00 5.57
Tan (survey)
#D1B26F
ΔE00 6.56
Sandstone
#C9AE74
ΔE00 6.56
Very Light Brown
#D3B683
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC080 #808CCC
analogous
#CC9A80 #CCC080 #B2CC80
triadic
#CCC080 #80CCC0 #C080CC
tetradic
#CCC080 #80CC9A #808CCC #CC80B2
square
#CCC080 #80CC9A #808CCC #CC80B2
split-complementary
#CCC080 #80B2CC #9A80CC
monochromatic
#96873C #BAAA54 #CCC080 #DED6AC #EFEBD7
Accessibility & contrast
On white
1.84
#CCC080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#CCC080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC080
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC080 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBC7B
Deuteranopia (green-blind)
#CFC182
Tritanopia (blue-blind)
#D7B7B0
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #ccc080; /* rgb */ color: rgb(204, 192, 128); /* oklch */ color: oklch(80.3% 0.084 98.9);
Tailwind
colors: {
custom: {
50: '#dcd2a5',
500: '#ccc080',
950: '#000000',
},
}SCSS
$custom: #ccc080; $custom-light: #dcd2a5; $custom-dark: #000000;
JSON
{
"hex": "#ccc080",
"rgb": {
"r": 204,
"g": 192,
"b": 128
},
"hsl": {
"h": 50.526,
"s": 42.697,
"l": 65.098
},
"oklch": {
"l": 0.80287,
"c": 0.08432,
"h": 98.9
},
"luminance": 0.52095
}Semantic roles & 50–950 ramp
primary
#CCC080
secondary
#54609C
accent
#45B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380