#CAC466#CAC466
#CAC466 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.117 H 105.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CAC466 |
|---|---|
| RGB | rgb(202, 196, 102) |
| HSL | hsl(56, 49%, 60%) |
| HSV | hsv(56, 50%, 79%) |
| CMYK | cmyk(0%, 3%, 49.5%, 20.8%) |
| CIE-LAB | lab(77.87, -10.66, 47.51) |
| CIE-LCH | lch(77.87, 48.69, 102.64°) |
| OKLab | oklab(80.55% -0.0311 0.1126) |
| OKLCH | oklch(80.55% 0.117 105.5) |
| XYZ | xyz(46.4965, 52.9971, 20.3480) |
| Luminance | 0.5300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.30
Greenish Beige
#C9D179
ΔE00 4.83
Sand (survey)
#E2CA76
ΔE00 5.96
Greenish Tan
#BCCB7A
ΔE00 6.37
Light Olive
#ACBF69
ΔE00 7.30
Puke Yellow
#C2BE0E
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAC466 #666CCA
analogous
#CA9266 #CAC466 #9ECA66
triadic
#CAC466 #66CAC4 #C466CA
tetradic
#CAC466 #66CA92 #666CCA #CA669E
square
#CAC466 #66CA92 #666CCA #CA669E
split-complementary
#CAC466 #669ECA #9266CA
monochromatic
#87822F #B4AD3E #CAC466 #DAD693 #E9E7C1
Accessibility & contrast
On white
1.81
#CAC466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CAC466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAC466
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAC466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAC466 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D4C36A
Tritanopia (blue-blind)
#D6B9AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cac466; /* rgb */ color: rgb(202, 196, 102); /* oklch */ color: oklch(80.6% 0.117 105.5);
Tailwind
colors: {
custom: {
50: '#dcd594',
500: '#cac466',
950: '#000000',
},
}SCSS
$custom: #cac466; $custom-light: #dcd594; $custom-dark: #000000;
JSON
{
"hex": "#cac466",
"rgb": {
"r": 202,
"g": 196,
"b": 102
},
"hsl": {
"h": 56.4,
"s": 48.544,
"l": 59.608
},
"oklch": {
"l": 0.80555,
"c": 0.1168,
"h": 105.5
},
"luminance": 0.52996
}Semantic roles & 50–950 ramp
primary
#CAC466
secondary
#464A8E
accent
#58D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F