#B5CD39#B5CD39
#B5CD39 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.4% C 0.168 H 118.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CD39 |
|---|---|
| RGB | rgb(181, 205, 57) |
| HSL | hsl(70, 60%, 51%) |
| HSV | hsv(70, 72%, 80%) |
| CMYK | cmyk(11.7%, 0%, 72.2%, 19.6%) |
| CIE-LAB | lab(78.33, -26.91, 66.60) |
| CIE-LCH | lch(78.33, 71.83, 112.00°) |
| OKLab | oklab(80.4% -0.0802 0.1479) |
| OKLCH | oklch(80.4% 0.168 118.5) |
| XYZ | xyz(41.6268, 53.7822, 12.0582) |
| Luminance | 0.5378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.63
Pea
#A4BF20
ΔE00 3.87
Baby Puke Green
#B6C406
ΔE00 3.96
Bile
#B5C306
ΔE00 4.05
Gross Green
#A0BF16
ΔE00 4.27
Snot Green
#9DC100
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CD39 #5139CD
analogous
#CD9B39 #B5CD39 #6BCD39
triadic
#B5CD39 #39B5CD #CD39B5
tetradic
#B5CD39 #39CD9B #5139CD #CD396B
square
#B5CD39 #39CD9B #5139CD #CD396B
split-complementary
#B5CD39 #396BCD #9B39CD
monochromatic
#626F1C #8DA028 #B5CD39 #C7D96A #DAE69B
Accessibility & contrast
On white
1.79
#B5CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#B5CD39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CD39
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CD39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CD39 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC21C
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C0C2B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b5cd39; /* rgb */ color: rgb(181, 205, 57); /* oklch */ color: oklch(80.4% 0.168 118.5);
Tailwind
colors: {
custom: {
50: '#cfdc79',
500: '#b5cd39',
950: '#000000',
},
}SCSS
$custom: #b5cd39; $custom-light: #cfdc79; $custom-dark: #000000;
JSON
{
"hex": "#b5cd39",
"rgb": {
"r": 181,
"g": 205,
"b": 57
},
"hsl": {
"h": 69.73,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.80402,
"c": 0.16824,
"h": 118.5
},
"luminance": 0.53782
}Semantic roles & 50–950 ramp
primary
#B5CD39
secondary
#3D3279
accent
#45E35F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D