#CACC45#CACC45
#CACC45 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.153 H 110.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CACC45 |
|---|---|
| RGB | rgb(202, 204, 69) |
| HSL | hsl(61, 57%, 54%) |
| HSV | hsv(61, 66%, 80%) |
| CMYK | cmyk(1%, 0%, 66.2%, 20%) |
| CIE-LAB | lab(79.71, -17.09, 64.09) |
| CIE-LCH | lch(79.71, 66.33, 104.93°) |
| OKLab | oklab(81.92% -0.0529 0.144) |
| OKLCH | oklch(81.92% 0.153 110.2) |
| XYZ | xyz(47.0257, 56.1732, 13.9944) |
| Luminance | 0.5617 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.43
Vomit Yellow
#C7C10C
ΔE00 4.48
Dirty Yellow
#CDC50A
ΔE00 4.51
Bile
#B5C306
ΔE00 4.56
Puke Yellow
#C2BE0E
ΔE00 4.65
Green Yellow
#B5CE08
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CACC45 #4745CC
analogous
#CC8A45 #CACC45 #86CC45
triadic
#CACC45 #45CACC #CC45CA
tetradic
#CACC45 #45CC8A #4745CC #CC4586
square
#CACC45 #45CC8A #4745CC #CC4586
split-complementary
#CACC45 #4586CC #8A45CC
monochromatic
#757620 #A4A62E #CACC45 #D8D975 #E5E6A5
Accessibility & contrast
On white
1.72
#CACC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.23
#CACC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CACC45
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CACC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CACC45 | 1.00 | 1.72 | 12.23 | 12.23 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC331
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cacc45; /* rgb */ color: rgb(202, 204, 69); /* oklch */ color: oklch(81.9% 0.153 110.2);
Tailwind
colors: {
custom: {
50: '#dddb80',
500: '#cacc45',
950: '#000000',
},
}SCSS
$custom: #cacc45; $custom-light: #dddb80; $custom-dark: #000000;
JSON
{
"hex": "#cacc45",
"rgb": {
"r": 202,
"g": 204,
"b": 69
},
"hsl": {
"h": 60.889,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.81922,
"c": 0.15337,
"h": 110.2
},
"luminance": 0.56172
}Semantic roles & 50–950 ramp
primary
#CACC45
secondary
#38367F
accent
#48E04A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E