#BAD02C#BAD02C
#BAD02C is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.4% C 0.177 H 117.5°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BAD02C |
|---|---|
| RGB | rgb(186, 208, 44) |
| HSL | hsl(68, 65%, 49%) |
| HSV | hsv(68, 79%, 82%) |
| CMYK | cmyk(10.6%, 0%, 78.8%, 18.4%) |
| CIE-LAB | lab(79.46, -26.86, 71.84) |
| CIE-LCH | lch(79.46, 76.69, 110.50°) |
| OKLab | oklab(81.38% -0.0814 0.1566) |
| OKLCH | oklch(81.38% 0.177 117.5) |
| XYZ | xyz(43.2613, 55.7332, 10.8610) |
| Luminance | 0.5573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.47
Baby Puke Green
#B6C406
ΔE00 3.45
Bile
#B5C306
ΔE00 3.63
Yellowish Green
#B0DD16
ΔE00 4.46
Pea
#A4BF20
ΔE00 4.79
Sickly Yellow
#D0E429
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAD02C #422CD0
analogous
#D0942C #BAD02C #68D02C
triadic
#BAD02C #2CBAD0 #D02CBA
tetradic
#BAD02C #2CD094 #422CD0 #D02C68
square
#BAD02C #2CD094 #422CD0 #D02C68
split-complementary
#BAD02C #2C68D0 #942CD0
monochromatic
#606B17 #8D9D21 #BAD02C #CBDD5D #DBE78F
Accessibility & contrast
On white
1.73
#BAD02C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.15
#BAD02C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAD02C
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAD02C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAD02C | 1.00 | 1.73 | 12.15 | 12.15 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DCC63C
Tritanopia (blue-blind)
#C6C4B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #bad02c; /* rgb */ color: rgb(186, 208, 44); /* oklch */ color: oklch(81.4% 0.177 117.5);
Tailwind
colors: {
custom: {
50: '#d3de74',
500: '#bad02c',
950: '#000000',
},
}SCSS
$custom: #bad02c; $custom-light: #d3de74; $custom-dark: #000000;
JSON
{
"hex": "#bad02c",
"rgb": {
"r": 186,
"g": 208,
"b": 44
},
"hsl": {
"h": 68.049,
"s": 65.079,
"l": 49.412
},
"oklch": {
"l": 0.81378,
"c": 0.17651,
"h": 117.5
},
"luminance": 0.55733
}Semantic roles & 50–950 ramp
primary
#BAD02C
secondary
#352C75
accent
#40E856
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D