#B5CD3C#B5CD3C
#B5CD3C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.4% C 0.166 H 118.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CD3C |
|---|---|
| RGB | rgb(181, 205, 60) |
| HSL | hsl(70, 59%, 52%) |
| HSV | hsv(70, 71%, 80%) |
| CMYK | cmyk(11.7%, 0%, 70.7%, 19.6%) |
| CIE-LAB | lab(78.35, -26.75, 65.57) |
| CIE-LCH | lch(78.35, 70.81, 112.20°) |
| OKLab | oklab(80.42% -0.0795 0.1462) |
| OKLCH | oklch(80.42% 0.166 118.5) |
| XYZ | xyz(41.7039, 53.8130, 12.4641) |
| Luminance | 0.5381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.90
Pea
#A4BF20
ΔE00 3.92
Baby Puke Green
#B6C406
ΔE00 4.16
Bile
#B5C306
ΔE00 4.24
Gross Green
#A0BF16
ΔE00 4.33
Snot Green
#9DC100
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CD3C #543CCD
analogous
#CD9D3C #B5CD3C #6DCD3C
triadic
#B5CD3C #3CB5CD #CD3CB5
tetradic
#B5CD3C #3CCD9D #543CCD #CD3C6D
square
#B5CD3C #3CCD9D #543CCD #CD3C6D
split-complementary
#B5CD3C #3C6DCD #9D3CCD
monochromatic
#64711D #8EA22A #B5CD3C #C7D96D #DAE69D
Accessibility & contrast
On white
1.79
#B5CD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#B5CD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CD3C
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CD3C | 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)
#DAC222
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#C0C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b5cd3c; /* rgb */ color: rgb(181, 205, 60); /* oklch */ color: oklch(80.4% 0.166 118.5);
Tailwind
colors: {
custom: {
50: '#cfdc7b',
500: '#b5cd3c',
950: '#000000',
},
}SCSS
$custom: #b5cd3c; $custom-light: #cfdc7b; $custom-dark: #000000;
JSON
{
"hex": "#b5cd3c",
"rgb": {
"r": 181,
"g": 205,
"b": 60
},
"hsl": {
"h": 69.931,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.80423,
"c": 0.16642,
"h": 118.5
},
"luminance": 0.53813
}Semantic roles & 50–950 ramp
primary
#B5CD3C
secondary
#3F337A
accent
#45E25F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D