#CCC466#CCC466
#CCC466 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.117 H 104.3°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC466 |
|---|---|
| RGB | rgb(204, 196, 102) |
| HSL | hsl(55, 50%, 60%) |
| HSV | hsv(55, 50%, 80%) |
| CMYK | cmyk(0%, 3.9%, 50%, 20%) |
| CIE-LAB | lab(78.04, -9.84, 47.74) |
| CIE-LCH | lch(78.04, 48.75, 101.64°) |
| OKLab | oklab(80.73% -0.0289 0.1131) |
| OKLCH | oklch(80.73% 0.117 104.3) |
| XYZ | xyz(47.0413, 53.2780, 20.3735) |
| Luminance | 0.5328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.43
Greenish Beige
#C9D179
ΔE00 5.23
Sand (survey)
#E2CA76
ΔE00 5.45
Greenish Tan
#BCCB7A
ΔE00 6.86
Sandy
#F1DA7A
ΔE00 7.23
Puke Yellow
#C2BE0E
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC466 #666ECC
analogous
#CC9166 #CCC466 #A1CC66
triadic
#CCC466 #66CCC4 #C466CC
tetradic
#CCC466 #66CC91 #666ECC #CC66A1
square
#CCC466 #66CC91 #666ECC #CC66A1
split-complementary
#CCC466 #66A1CC #9166CC
monochromatic
#8A822E #B8AE3D #CCC466 #DBD694 #EBE7C2
Accessibility & contrast
On white
1.80
#CCC466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#CCC466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC466
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC466 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#D9B9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #ccc466; /* rgb */ color: rgb(204, 196, 102); /* oklch */ color: oklch(80.7% 0.117 104.3);
Tailwind
colors: {
custom: {
50: '#ddd594',
500: '#ccc466',
950: '#000000',
},
}SCSS
$custom: #ccc466; $custom-light: #ddd594; $custom-dark: #000000;
JSON
{
"hex": "#ccc466",
"rgb": {
"r": 204,
"g": 196,
"b": 102
},
"hsl": {
"h": 55.294,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.80727,
"c": 0.11669,
"h": 104.3
},
"luminance": 0.53277
}Semantic roles & 50–950 ramp
primary
#CCC466
secondary
#464B91
accent
#59DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F