#CACF32#CACF32
#CACF32 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.4% C 0.168 H 111.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CACF32 |
|---|---|
| RGB | rgb(202, 207, 50) |
| HSL | hsl(62, 62%, 50%) |
| HSV | hsv(62, 76%, 81%) |
| CMYK | cmyk(2.4%, 0%, 75.8%, 18.8%) |
| CIE-LAB | lab(80.41, -19.49, 71.39) |
| CIE-LCH | lch(80.41, 74.00, 105.27°) |
| OKLab | oklab(82.45% -0.0613 0.1561) |
| OKLCH | oklch(82.45% 0.168 111.4) |
| XYZ | xyz(47.2473, 57.4137, 11.6101) |
| Luminance | 0.5741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.79
Bile
#B5C306
ΔE00 4.00
Dirty Yellow
#CDC50A
ΔE00 4.08
Green Yellow
#B5CE08
ΔE00 4.22
Piss Yellow
#DDD618
ΔE00 4.25
Vomit Yellow
#C7C10C
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CACF32 #3732CF
analogous
#CF8632 #CACF32 #7BCF32
triadic
#CACF32 #32CACF #CF32CA
tetradic
#CACF32 #32CF86 #3732CF #CF327B
square
#CACF32 #32CF86 #3732CF #CF327B
split-complementary
#CACF32 #327BCF #8632CF
monochromatic
#6A6D1A #9B9F25 #CACF32 #D7DB64 #E4E695
Accessibility & contrast
On white
1.68
#CACF32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.48
#CACF32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CACF32
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CACF32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CACF32 | 1.00 | 1.68 | 12.48 | 12.48 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC504
Deuteranopia (green-blind)
#E0C940
Tritanopia (blue-blind)
#D8C2B2
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #cacf32; /* rgb */ color: rgb(202, 207, 50); /* oklch */ color: oklch(82.4% 0.168 111.4);
Tailwind
colors: {
custom: {
50: '#dedd77',
500: '#cacf32',
950: '#000000',
},
}SCSS
$custom: #cacf32; $custom-light: #dedd77; $custom-dark: #000000;
JSON
{
"hex": "#cacf32",
"rgb": {
"r": 202,
"g": 207,
"b": 50
},
"hsl": {
"h": 61.911,
"s": 62.055,
"l": 50.392
},
"oklch": {
"l": 0.82446,
"c": 0.16775,
"h": 111.4
},
"luminance": 0.57412
}Semantic roles & 50–950 ramp
primary
#CACF32
secondary
#312F76
accent
#43E548
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D