#B5CB34#B5CB34
#B5CB34 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.169 H 117.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CB34 |
|---|---|
| RGB | rgb(181, 203, 52) |
| HSL | hsl(69, 59%, 50%) |
| HSV | hsv(69, 74%, 80%) |
| CMYK | cmyk(10.8%, 0%, 74.4%, 20.4%) |
| CIE-LAB | lab(77.75, -26.19, 67.72) |
| CIE-LCH | lch(77.75, 72.60, 111.15°) |
| OKLab | oklab(79.92% -0.0786 0.1494) |
| OKLCH | oklch(79.92% 0.169 117.8) |
| XYZ | xyz(41.0328, 52.7840, 11.2749) |
| Luminance | 0.5278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.34
Baby Puke Green
#B6C406
ΔE00 3.27
Bile
#B5C306
ΔE00 3.35
Pea
#A4BF20
ΔE00 3.51
Gross Green
#A0BF16
ΔE00 3.97
Snot Green
#9DC100
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CB34 #4A34CB
analogous
#CB9634 #B5CB34 #69CB34
triadic
#B5CB34 #34B5CB #CB34B5
tetradic
#B5CB34 #34CB96 #4A34CB #CB3469
square
#B5CB34 #34CB96 #4A34CB #CB3469
split-complementary
#B5CB34 #3469CB #9634CB
monochromatic
#5E6A1B #8A9A28 #B5CB34 #C7D765 #D9E495
Accessibility & contrast
On white
1.82
#B5CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#B5CB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CB34
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CB34 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C011
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#C0C0AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5cb34; /* rgb */ color: rgb(181, 203, 52); /* oklch */ color: oklch(79.9% 0.169 117.8);
Tailwind
colors: {
custom: {
50: '#cfda77',
500: '#b5cb34',
950: '#000000',
},
}SCSS
$custom: #b5cb34; $custom-light: #cfda77; $custom-dark: #000000;
JSON
{
"hex": "#b5cb34",
"rgb": {
"r": 181,
"g": 203,
"b": 52
},
"hsl": {
"h": 68.742,
"s": 59.216,
"l": 50
},
"oklch": {
"l": 0.79921,
"c": 0.16884,
"h": 117.8
},
"luminance": 0.52784
}Semantic roles & 50–950 ramp
primary
#B5CB34
secondary
#3A3073
accent
#45E25C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D