#CAD142#CAD142
#CAD142 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.0% C 0.161 H 112.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CAD142 |
|---|---|
| RGB | rgb(202, 209, 66) |
| HSL | hsl(63, 61%, 54%) |
| HSV | hsv(63, 68%, 82%) |
| CMYK | cmyk(3.3%, 0%, 68.4%, 18%) |
| CIE-LAB | lab(81.04, -19.73, 66.57) |
| CIE-LCH | lch(81.04, 69.43, 106.51°) |
| OKLab | oklab(82.98% -0.0606 0.1487) |
| OKLCH | oklch(82.98% 0.161 112.2) |
| XYZ | xyz(48.1424, 58.5520, 13.9188) |
| Luminance | 0.5855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.35
Baby Puke Green
#B6C406
ΔE00 4.40
Bile
#B5C306
ΔE00 4.59
Sickly Yellow
#D0E429
ΔE00 5.20
Piss Yellow
#DDD618
ΔE00 5.20
Dirty Yellow
#CDC50A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAD142 #4942D1
analogous
#D19142 #CAD142 #83D142
triadic
#CAD142 #42CAD1 #D142CA
tetradic
#CAD142 #42D191 #4942D1 #D14283
square
#CAD142 #42D191 #4942D1 #D14283
split-complementary
#CAD142 #4283D1 #9142D1
monochromatic
#767B1E #A6AC2A #CAD142 #D8DD73 #E6E9A4
Accessibility & contrast
On white
1.65
#CAD142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.71
#CAD142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAD142
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAD142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAD142 | 1.00 | 1.65 | 12.71 | 12.71 |
| #FFFFFF | 1.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E1CB4C
Tritanopia (blue-blind)
#D7C5B5
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #cad142; /* rgb */ color: rgb(202, 209, 66); /* oklch */ color: oklch(83.0% 0.161 112.2);
Tailwind
colors: {
custom: {
50: '#dede7f',
500: '#cad142',
950: '#000000',
},
}SCSS
$custom: #cad142; $custom-light: #dede7f; $custom-dark: #000000;
JSON
{
"hex": "#cad142",
"rgb": {
"r": 202,
"g": 209,
"b": 66
},
"hsl": {
"h": 62.937,
"s": 60.851,
"l": 53.922
},
"oklch": {
"l": 0.82981,
"c": 0.16056,
"h": 112.2
},
"luminance": 0.58551
}Semantic roles & 50–950 ramp
primary
#CAD142
secondary
#383583
accent
#44E44C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E