#CACD2C#CACD2C
#CACD2C is a light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.169 H 110.7°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CACD2C |
|---|---|
| RGB | rgb(202, 205, 44) |
| HSL | hsl(61, 65%, 49%) |
| HSV | hsv(61, 79%, 80%) |
| CMYK | cmyk(1.5%, 0%, 78.5%, 19.6%) |
| CIE-LAB | lab(79.84, -18.72, 72.63) |
| CIE-LCH | lch(79.84, 75.01, 104.46°) |
| OKLab | oklab(81.98% -0.0597 0.1577) |
| OKLCH | oklch(81.98% 0.169 110.7) |
| XYZ | xyz(46.6448, 56.4024, 10.8120) |
| Luminance | 0.5640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 3.37
Vomit Yellow
#C7C10C
ΔE00 3.57
Baby Puke Green
#B6C406
ΔE00 3.66
Bile
#B5C306
ΔE00 3.86
Puke Yellow
#C2BE0E
ΔE00 3.96
Piss Yellow
#DDD618
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CACD2C #2F2CCD
analogous
#CD802C #CACD2C #7ACD2C
triadic
#CACD2C #2CCACD #CD2CCA
tetradic
#CACD2C #2CCD80 #2F2CCD #CD2C7A
square
#CACD2C #2CCD80 #2F2CCD #CD2C7A
split-complementary
#CACD2C #2C7ACD #802CCD
monochromatic
#676816 #989B21 #CACD2C #D9DC5B #E5E78D
Accessibility & contrast
On white
1.71
#CACD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.28
#CACD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CACD2C
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CACD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CACD2C | 1.00 | 1.71 | 12.28 | 12.28 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DFC83B
Tritanopia (blue-blind)
#D8C0B0
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cacd2c; /* rgb */ color: rgb(202, 205, 44); /* oklch */ color: oklch(82.0% 0.169 110.7);
Tailwind
colors: {
custom: {
50: '#dedc74',
500: '#cacd2c',
950: '#000000',
},
}SCSS
$custom: #cacd2c; $custom-light: #dedc74; $custom-dark: #000000;
JSON
{
"hex": "#cacd2c",
"rgb": {
"r": 202,
"g": 205,
"b": 44
},
"hsl": {
"h": 61.118,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.81981,
"c": 0.16865,
"h": 110.7
},
"luminance": 0.56401
}Semantic roles & 50–950 ramp
primary
#CACD2C
secondary
#2C2B72
accent
#40E843
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D