#CAC166#CAC166
#CAC166 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.114 H 103.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CAC166 |
|---|---|
| RGB | rgb(202, 193, 102) |
| HSL | hsl(55, 49%, 60%) |
| HSV | hsv(55, 50%, 79%) |
| CMYK | cmyk(0%, 4.5%, 49.5%, 20.8%) |
| CIE-LAB | lab(77.08, -9.12, 46.55) |
| CIE-LCH | lch(77.08, 47.43, 101.08°) |
| OKLab | oklab(79.92% -0.0267 0.1105) |
| OKLCH | oklch(79.92% 0.114 103.6) |
| XYZ | xyz(45.8266, 51.6572, 20.1247) |
| Luminance | 0.5166 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.70
Sand (survey)
#E2CA76
ΔE00 5.45
Greenish Beige
#C9D179
ΔE00 5.73
Greenish Tan
#BCCB7A
ΔE00 7.08
Sandy
#F1DA7A
ΔE00 7.68
Puke Yellow
#C2BE0E
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAC166 #666FCA
analogous
#CA8F66 #CAC166 #A1CA66
triadic
#CAC166 #66CAC1 #C166CA
tetradic
#CAC166 #66CA8F #666FCA #CA66A1
square
#CAC166 #66CA8F #666FCA #CA66A1
split-complementary
#CAC166 #66A1CA #8F66CA
monochromatic
#877F2F #B4AA3E #CAC166 #DAD393 #E9E6C1
Accessibility & contrast
On white
1.85
#CAC166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.33
#CAC166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAC166
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAC166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAC166 | 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)
#CFBC5E
Deuteranopia (green-blind)
#D2C16A
Tritanopia (blue-blind)
#D7B6AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cac166; /* rgb */ color: rgb(202, 193, 102); /* oklch */ color: oklch(79.9% 0.114 103.6);
Tailwind
colors: {
custom: {
50: '#dcd394',
500: '#cac166',
950: '#000000',
},
}SCSS
$custom: #cac166; $custom-light: #dcd394; $custom-dark: #000000;
JSON
{
"hex": "#cac166",
"rgb": {
"r": 202,
"g": 193,
"b": 102
},
"hsl": {
"h": 54.6,
"s": 48.544,
"l": 59.608
},
"oklch": {
"l": 0.79922,
"c": 0.11367,
"h": 103.6
},
"luminance": 0.51656
}Semantic roles & 50–950 ramp
primary
#CAC166
secondary
#464D8E
accent
#5CD850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F