#CCC06E#CCC06E
#CCC06E is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.104 H 101.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC06E |
|---|---|
| RGB | rgb(204, 192, 110) |
| HSL | hsl(52, 48%, 62%) |
| HSV | hsv(52, 46%, 80%) |
| CMYK | cmyk(0%, 5.9%, 46.1%, 20%) |
| CIE-LAB | lab(77.08, -7.03, 42.65) |
| CIE-LCH | lch(77.08, 43.22, 99.37°) |
| OKLab | oklab(80% -0.02 0.1024) |
| OKLCH | oklch(80% 0.104 101.1) |
| XYZ | xyz(46.5671, 51.6639, 22.2680) |
| Luminance | 0.5166 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.31
Sand (survey)
#E2CA76
ΔE00 4.63
Greenish Beige
#C9D179
ΔE00 6.39
Sand
#C2B280
ΔE00 7.23
Desert
#CCAD60
ΔE00 7.23
Tan (survey)
#D1B26F
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC06E #6E7ACC
analogous
#CC916E #CCC06E #A9CC6E
triadic
#CCC06E #6ECCC0 #C06ECC
tetradic
#CCC06E #6ECC91 #6E7ACC #CC6EA9
square
#CCC06E #6ECC91 #6E7ACC #CC6EA9
split-complementary
#CCC06E #6EA9CC #916ECC
monochromatic
#8E8232 #BBAC42 #CCC06E #DCD49B #ECE7C9
Accessibility & contrast
On white
1.85
#CCC06E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.33
#CCC06E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC06E
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC06E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC06E | 1.00 | 1.85 | 11.33 | 11.33 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBB67
Deuteranopia (green-blind)
#D1C171
Tritanopia (blue-blind)
#D8B6AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #ccc06e; /* rgb */ color: rgb(204, 192, 110); /* oklch */ color: oklch(80.0% 0.104 101.1);
Tailwind
colors: {
custom: {
50: '#ddd299',
500: '#ccc06e',
950: '#000000',
},
}SCSS
$custom: #ccc06e; $custom-light: #ddd299; $custom-dark: #000000;
JSON
{
"hex": "#ccc06e",
"rgb": {
"r": 204,
"g": 192,
"b": 110
},
"hsl": {
"h": 52.34,
"s": 47.959,
"l": 61.569
},
"oklch": {
"l": 0.79998,
"c": 0.10438,
"h": 101.1
},
"luminance": 0.51662
}Semantic roles & 50–950 ramp
primary
#CCC06E
secondary
#4A5394
accent
#3DBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F