#CAD940#CAD940
#CAD940 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.7% C 0.170 H 115.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CAD940 |
|---|---|
| RGB | rgb(202, 217, 64) |
| HSL | hsl(66, 67%, 55%) |
| HSV | hsv(66, 71%, 85%) |
| CMYK | cmyk(6.9%, 0%, 70.5%, 14.9%) |
| CIE-LAB | lab(83.21, -23.73, 69.42) |
| CIE-LCH | lch(83.21, 73.36, 108.87°) |
| OKLab | oklab(84.71% -0.0719 0.1544) |
| OKLCH | oklch(84.71% 0.17 115) |
| XYZ | xyz(50.0967, 62.5533, 14.2845) |
| Luminance | 0.6255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.21
Green Yellow
#B5CE08
ΔE00 3.99
Yellowish Green
#B0DD16
ΔE00 5.32
Baby Puke Green
#B6C406
ΔE00 5.47
Bile
#B5C306
ΔE00 5.70
Piss Yellow
#DDD618
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAD940 #4F40D9
analogous
#D99B40 #CAD940 #7ED940
triadic
#CAD940 #40CAD9 #D940CA
tetradic
#CAD940 #40D99B #4F40D9 #D9407E
square
#CAD940 #40D99B #4F40D9 #D9407E
split-complementary
#CAD940 #407ED9 #9B40D9
monochromatic
#7A841A #A9B724 #CAD940 #D8E373 #E6EDA6
Accessibility & contrast
On white
1.55
#CAD940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.51
#CAD940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAD940
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAD940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAD940 | 1.00 | 1.55 | 13.51 | 13.51 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CE25
Deuteranopia (green-blind)
#E7D14C
Tritanopia (blue-blind)
#D7CCBB
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #cad940; /* rgb */ color: rgb(202, 217, 64); /* oklch */ color: oklch(84.7% 0.170 115.0);
Tailwind
colors: {
custom: {
50: '#dee47f',
500: '#cad940',
950: '#000000',
},
}SCSS
$custom: #cad940; $custom-light: #dee47f; $custom-dark: #000000;
JSON
{
"hex": "#cad940",
"rgb": {
"r": 202,
"g": 217,
"b": 64
},
"hsl": {
"h": 65.882,
"s": 66.812,
"l": 55.098
},
"oklch": {
"l": 0.84709,
"c": 0.1703,
"h": 115
},
"luminance": 0.62552
}Semantic roles & 50–950 ramp
primary
#CAD940
secondary
#3B328B
accent
#3EEA4F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E