#CACC4C#CACC4C
#CACC4C is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.148 H 110.1°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CACC4C |
|---|---|
| RGB | rgb(202, 204, 76) |
| HSL | hsl(61, 56%, 55%) |
| HSV | hsv(61, 63%, 80%) |
| CMYK | cmyk(1%, 0%, 62.7%, 20%) |
| CIE-LAB | lab(79.76, -16.67, 61.34) |
| CIE-LCH | lch(79.76, 63.57, 105.21°) |
| OKLab | oklab(81.98% -0.051 0.1392) |
| OKLCH | oklch(81.98% 0.148 110.1) |
| XYZ | xyz(47.2559, 56.2653, 15.2071) |
| Luminance | 0.5626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.89
Bile
#B5C306
ΔE00 5.00
Vomit Yellow
#C7C10C
ΔE00 5.02
Dirty Yellow
#CDC50A
ΔE00 5.09
Puke Yellow
#C2BE0E
ΔE00 5.13
Green Yellow
#B5CE08
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CACC4C #4E4CCC
analogous
#CC8E4C #CACC4C #8ACC4C
triadic
#CACC4C #4CCACC #CC4CCA
tetradic
#CACC4C #4CCC8E #4E4CCC #CC4C8A
square
#CACC4C #4CCC8E #4E4CCC #CC4C8A
split-complementary
#CACC4C #4C8ACC #8E4CCC
monochromatic
#797B23 #A8AA31 #CACC4C #D8DA7C #E6E7AB
Accessibility & contrast
On white
1.71
#CACC4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#CACC4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CACC4C
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CACC4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CACC4C | 1.00 | 1.71 | 12.25 | 12.25 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC43C
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cacc4c; /* rgb */ color: rgb(202, 204, 76); /* oklch */ color: oklch(82.0% 0.148 110.1);
Tailwind
colors: {
custom: {
50: '#dddb84',
500: '#cacc4c',
950: '#000000',
},
}SCSS
$custom: #cacc4c; $custom-light: #dddb84; $custom-dark: #000000;
JSON
{
"hex": "#cacc4c",
"rgb": {
"r": 202,
"g": 204,
"b": 76
},
"hsl": {
"h": 60.938,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.81981,
"c": 0.14828,
"h": 110.1
},
"luminance": 0.56264
}Semantic roles & 50–950 ramp
primary
#CACC4C
secondary
#3B3983
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E