#B5CD3A#B5CD3A
#B5CD3A 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 | #B5CD3A |
|---|---|
| RGB | rgb(181, 205, 58) |
| HSL | hsl(70, 60%, 52%) |
| HSV | hsv(70, 72%, 80%) |
| CMYK | cmyk(11.7%, 0%, 71.7%, 19.6%) |
| CIE-LAB | lab(78.34, -26.86, 66.26) |
| CIE-LCH | lch(78.34, 71.50, 112.06°) |
| OKLab | oklab(80.41% -0.08 0.1473) |
| OKLCH | oklch(80.41% 0.168 118.5) |
| XYZ | xyz(41.6520, 53.7922, 12.1909) |
| Luminance | 0.5379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.72
Pea
#A4BF20
ΔE00 3.89
Baby Puke Green
#B6C406
ΔE00 4.02
Bile
#B5C306
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.29
Snot Green
#9DC100
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CD3A #523ACD
analogous
#CD9C3A #B5CD3A #6CCD3A
triadic
#B5CD3A #3AB5CD #CD3AB5
tetradic
#B5CD3A #3ACD9C #523ACD #CD3A6C
square
#B5CD3A #3ACD9C #523ACD #CD3A6C
split-complementary
#B5CD3A #3A6CCD #9C3ACD
monochromatic
#62701C #8DA129 #B5CD3A #C7D96B #DAE69C
Accessibility & contrast
On white
1.79
#B5CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#B5CD3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CD3A
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CD3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CD3A | 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)
#DAC21F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C0C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b5cd3a; /* rgb */ color: rgb(181, 205, 58); /* oklch */ color: oklch(80.4% 0.168 118.5);
Tailwind
colors: {
custom: {
50: '#cfdc7a',
500: '#b5cd3a',
950: '#000000',
},
}SCSS
$custom: #b5cd3a; $custom-light: #cfdc7a; $custom-dark: #000000;
JSON
{
"hex": "#b5cd3a",
"rgb": {
"r": 181,
"g": 205,
"b": 58
},
"hsl": {
"h": 69.796,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.80409,
"c": 0.16764,
"h": 118.5
},
"luminance": 0.53792
}Semantic roles & 50–950 ramp
primary
#B5CD3A
secondary
#3E3279
accent
#45E35F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D