#CAC64B#CAC64B
#CAC64B is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.143 H 107.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CAC64B |
|---|---|
| RGB | rgb(202, 198, 75) |
| HSL | hsl(58, 55%, 54%) |
| HSV | hsv(58, 63%, 79%) |
| CMYK | cmyk(0%, 2%, 62.9%, 20.8%) |
| CIE-LAB | lab(78.14, -13.73, 60.04) |
| CIE-LCH | lch(78.14, 61.59, 102.88°) |
| OKLab | oklab(80.68% -0.0428 0.1363) |
| OKLCH | oklch(80.68% 0.143 107.4) |
| XYZ | xyz(45.8227, 53.4542, 14.5592) |
| Luminance | 0.5345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.25
Puke Yellow
#C2BE0E
ΔE00 4.28
Dirty Yellow
#CDC50A
ΔE00 4.50
Ugly Yellow
#D0C101
ΔE00 5.39
Baby Puke Green
#B6C406
ΔE00 5.43
Olive Yellow
#C2B709
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAC64B #4B4FCA
analogous
#CA874B #CAC64B #8FCA4B
triadic
#CAC64B #4BCAC6 #C64BCA
tetradic
#CAC64B #4BCA87 #4B4FCA #CA4B8F
square
#CAC64B #4BCA87 #4B4FCA #CA4B8F
split-complementary
#CAC64B #4B8FCA #874BCA
monochromatic
#777523 #A7A331 #CAC64B #D8D57A #E6E4AA
Accessibility & contrast
On white
1.80
#CAC64B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CAC64B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAC64B
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAC64B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAC64B | 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)
#D6BF3C
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cac64b; /* rgb */ color: rgb(202, 198, 75); /* oklch */ color: oklch(80.7% 0.143 107.4);
Tailwind
colors: {
custom: {
50: '#ddd783',
500: '#cac64b',
950: '#000000',
},
}SCSS
$custom: #cac64b; $custom-light: #ddd783; $custom-dark: #000000;
JSON
{
"hex": "#cac64b",
"rgb": {
"r": 202,
"g": 198,
"b": 75
},
"hsl": {
"h": 58.11,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.80684,
"c": 0.14289,
"h": 107.4
},
"luminance": 0.53453
}Semantic roles & 50–950 ramp
primary
#CAC64B
secondary
#393B80
accent
#4FDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E