#CAD540#CAD540
#CAD540 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.8% C 0.166 H 113.6°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CAD540 |
|---|---|
| RGB | rgb(202, 213, 64) |
| HSL | hsl(64, 64%, 54%) |
| HSV | hsv(64, 70%, 84%) |
| CMYK | cmyk(5.2%, 0%, 70%, 16.5%) |
| CIE-LAB | lab(82.12, -21.79, 68.36) |
| CIE-LCH | lch(82.12, 71.75, 107.68°) |
| OKLab | oklab(83.84% -0.0665 0.1521) |
| OKLCH | oklch(83.84% 0.166 113.6) |
| XYZ | xyz(49.0782, 60.5162, 13.9449) |
| Luminance | 0.6051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.95
Sickly Yellow
#D0E429
ΔE00 4.10
Baby Puke Green
#B6C406
ΔE00 4.79
Bile
#B5C306
ΔE00 5.01
Piss Yellow
#DDD618
ΔE00 5.41
Dirty Yellow
#CDC50A
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAD540 #4B40D5
analogous
#D59640 #CAD540 #7FD540
triadic
#CAD540 #40CAD5 #D540CA
tetradic
#CAD540 #40D596 #4B40D5 #D5407F
square
#CAD540 #40D596 #4B40D5 #D5407F
split-complementary
#CAD540 #407FD5 #9640D5
monochromatic
#777F1C #A7B127 #CAD540 #D8E072 #E6EBA4
Accessibility & contrast
On white
1.60
#CAD540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.10
#CAD540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAD540
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAD540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAD540 | 1.00 | 1.60 | 13.10 | 13.10 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E4CE4B
Tritanopia (blue-blind)
#D7C8B8
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cad540; /* rgb */ color: rgb(202, 213, 64); /* oklch */ color: oklch(83.8% 0.166 113.6);
Tailwind
colors: {
custom: {
50: '#dee17e',
500: '#cad540',
950: '#000000',
},
}SCSS
$custom: #cad540; $custom-light: #dee17e; $custom-dark: #000000;
JSON
{
"hex": "#cad540",
"rgb": {
"r": 202,
"g": 213,
"b": 64
},
"hsl": {
"h": 64.43,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.83836,
"c": 0.16604,
"h": 113.6
},
"luminance": 0.60515
}Semantic roles & 50–950 ramp
primary
#CAD540
secondary
#393386
accent
#41E74D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E