#CCC66E#CCC66E
#CCC66E is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.111 H 105.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC66E |
|---|---|
| RGB | rgb(204, 198, 110) |
| HSL | hsl(56, 48%, 62%) |
| HSV | hsv(56, 46%, 80%) |
| CMYK | cmyk(0%, 2.9%, 46.1%, 20%) |
| CIE-LAB | lab(78.67, -10.12, 44.60) |
| CIE-LCH | lch(78.67, 45.73, 102.78°) |
| OKLab | oklab(81.26% -0.0289 0.1068) |
| OKLCH | oklch(81.26% 0.111 105.1) |
| XYZ | xyz(47.9115, 54.3526, 22.7161) |
| Luminance | 0.5435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.25
Greenish Beige
#C9D179
ΔE00 4.31
Sand (survey)
#E2CA76
ΔE00 5.57
Greenish Tan
#BCCB7A
ΔE00 5.92
Light Olive
#ACBF69
ΔE00 7.27
Sandy
#F1DA7A
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC66E #6E74CC
analogous
#CC976E #CCC66E #A3CC6E
triadic
#CCC66E #6ECCC6 #C66ECC
tetradic
#CCC66E #6ECC97 #6E74CC #CC6EA3
square
#CCC66E #6ECC97 #6E74CC #CC6EA3
split-complementary
#CCC66E #6EA3CC #976ECC
monochromatic
#8E8832 #BBB342 #CCC66E #DCD89B #ECEAC9
Accessibility & contrast
On white
1.77
#CCC66E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#CCC66E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC66E
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC66E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC66E | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C067
Deuteranopia (green-blind)
#D6C572
Tritanopia (blue-blind)
#D8BCB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #ccc66e; /* rgb */ color: rgb(204, 198, 110); /* oklch */ color: oklch(81.3% 0.111 105.1);
Tailwind
colors: {
custom: {
50: '#ddd799',
500: '#ccc66e',
950: '#000000',
},
}SCSS
$custom: #ccc66e; $custom-light: #ddd799; $custom-dark: #000000;
JSON
{
"hex": "#ccc66e",
"rgb": {
"r": 204,
"g": 198,
"b": 110
},
"hsl": {
"h": 56.17,
"s": 47.959,
"l": 61.569
},
"oklch": {
"l": 0.81257,
"c": 0.11062,
"h": 105.1
},
"luminance": 0.54351
}Semantic roles & 50–950 ramp
primary
#CCC66E
secondary
#4A4F94
accent
#34BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F