#B5CD34#B5CD34
#B5CD34 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.171 H 118.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CD34 |
|---|---|
| RGB | rgb(181, 205, 52) |
| HSL | hsl(69, 60%, 50%) |
| HSV | hsv(69, 75%, 80%) |
| CMYK | cmyk(11.7%, 0%, 74.6%, 19.6%) |
| CIE-LAB | lab(78.31, -27.15, 68.24) |
| CIE-LCH | lch(78.31, 73.44, 111.69°) |
| OKLab | oklab(80.37% -0.0813 0.1505) |
| OKLCH | oklch(80.37% 0.171 118.4) |
| XYZ | xyz(41.5081, 53.7347, 11.4333) |
| Luminance | 0.5373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.21
Baby Puke Green
#B6C406
ΔE00 3.66
Bile
#B5C306
ΔE00 3.76
Pea
#A4BF20
ΔE00 3.83
Gross Green
#A0BF16
ΔE00 4.21
Snot Green
#9DC100
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CD34 #4C34CD
analogous
#CD9934 #B5CD34 #68CD34
triadic
#B5CD34 #34B5CD #CD34B5
tetradic
#B5CD34 #34CD99 #4C34CD #CD3468
square
#B5CD34 #34CD99 #4C34CD #CD3468
split-complementary
#B5CD34 #3468CD #9934CD
monochromatic
#5F6C1B #8B9D27 #B5CD34 #C7D965 #D9E596
Accessibility & contrast
On white
1.79
#B5CD34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#B5CD34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CD34
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CD34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CD34 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC10F
Deuteranopia (green-blind)
#D8C242
Tritanopia (blue-blind)
#C0C2B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b5cd34; /* rgb */ color: rgb(181, 205, 52); /* oklch */ color: oklch(80.4% 0.171 118.4);
Tailwind
colors: {
custom: {
50: '#cfdc77',
500: '#b5cd34',
950: '#000000',
},
}SCSS
$custom: #b5cd34; $custom-light: #cfdc77; $custom-dark: #000000;
JSON
{
"hex": "#b5cd34",
"rgb": {
"r": 181,
"g": 205,
"b": 52
},
"hsl": {
"h": 69.412,
"s": 60.474,
"l": 50.392
},
"oklch": {
"l": 0.80371,
"c": 0.17107,
"h": 118.4
},
"luminance": 0.53734
}Semantic roles & 50–950 ramp
primary
#B5CD34
secondary
#3B3076
accent
#44E45D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D