#CAC64C#CAC64C
#CAC64C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.142 H 107.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CAC64C |
|---|---|
| RGB | rgb(202, 198, 76) |
| HSL | hsl(58, 54%, 55%) |
| HSV | hsv(58, 62%, 79%) |
| CMYK | cmyk(0%, 2%, 62.4%, 20.8%) |
| CIE-LAB | lab(78.15, -13.66, 59.63) |
| CIE-LCH | lch(78.15, 61.18, 102.91°) |
| OKLab | oklab(80.69% -0.0425 0.1356) |
| OKLCH | oklch(80.69% 0.142 107.4) |
| XYZ | xyz(45.8572, 53.4680, 14.7408) |
| Luminance | 0.5347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.36
Puke Yellow
#C2BE0E
ΔE00 4.38
Dirty Yellow
#CDC50A
ΔE00 4.61
Ugly Yellow
#D0C101
ΔE00 5.48
Baby Puke Green
#B6C406
ΔE00 5.51
Olive Yellow
#C2B709
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAC64C #4C50CA
analogous
#CA874C #CAC64C #8FCA4C
triadic
#CAC64C #4CCAC6 #C64CCA
tetradic
#CAC64C #4CCA87 #4C50CA #CA4C8F
square
#CAC64C #4CCA87 #4C50CA #CA4C8F
split-complementary
#CAC64C #4C8FCA #874CCA
monochromatic
#787524 #A7A432 #CAC64C #D8D57B #E6E4AA
Accessibility & contrast
On white
1.80
#CAC64C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CAC64C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAC64C
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAC64C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAC64C | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cac64c; /* rgb */ color: rgb(202, 198, 76); /* oklch */ color: oklch(80.7% 0.142 107.4);
Tailwind
colors: {
custom: {
50: '#ddd784',
500: '#cac64c',
950: '#000000',
},
}SCSS
$custom: #cac64c; $custom-light: #ddd784; $custom-dark: #000000;
JSON
{
"hex": "#cac64c",
"rgb": {
"r": 202,
"g": 198,
"b": 76
},
"hsl": {
"h": 58.095,
"s": 54.31,
"l": 54.51
},
"oklch": {
"l": 0.80693,
"c": 0.14211,
"h": 107.4
},
"luminance": 0.53467
}Semantic roles & 50–950 ramp
primary
#CAC64C
secondary
#3A3C80
accent
#4FDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E