#B5CB32#B5CB32
#B5CB32 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 79.9% C 0.170 H 117.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CB32 |
|---|---|
| RGB | rgb(181, 203, 50) |
| HSL | hsl(69, 60%, 50%) |
| HSV | hsv(69, 75%, 80%) |
| CMYK | cmyk(10.8%, 0%, 75.4%, 20.4%) |
| CIE-LAB | lab(77.74, -26.28, 68.35) |
| CIE-LCH | lch(77.74, 73.23, 111.03°) |
| OKLab | oklab(79.91% -0.0791 0.1504) |
| OKLCH | oklch(79.91% 0.17 117.7) |
| XYZ | xyz(40.9887, 52.7664, 11.0426) |
| Luminance | 0.5277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.19
Baby Puke Green
#B6C406
ΔE00 3.15
Bile
#B5C306
ΔE00 3.24
Pea
#A4BF20
ΔE00 3.51
Gross Green
#A0BF16
ΔE00 3.96
Snot Green
#9DC100
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CB32 #4832CB
analogous
#CB9432 #B5CB32 #69CB32
triadic
#B5CB32 #32B5CB #CB32B5
tetradic
#B5CB32 #32CB94 #4832CB #CB3269
square
#B5CB32 #32CB94 #4832CB #CB3269
split-complementary
#B5CB32 #3269CB #9432CB
monochromatic
#5D691A #899A26 #B5CB32 #C7D862 #D9E493
Accessibility & contrast
On white
1.82
#B5CB32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.55
#B5CB32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CB32
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CB32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CB32 | 1.00 | 1.82 | 11.55 | 11.55 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C00A
Deuteranopia (green-blind)
#D7C140
Tritanopia (blue-blind)
#C0C0AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5cb32; /* rgb */ color: rgb(181, 203, 50); /* oklch */ color: oklch(79.9% 0.170 117.7);
Tailwind
colors: {
custom: {
50: '#cfda76',
500: '#b5cb32',
950: '#000000',
},
}SCSS
$custom: #b5cb32; $custom-light: #cfda76; $custom-dark: #000000;
JSON
{
"hex": "#b5cb32",
"rgb": {
"r": 181,
"g": 203,
"b": 50
},
"hsl": {
"h": 68.627,
"s": 60.474,
"l": 49.608
},
"oklch": {
"l": 0.79909,
"c": 0.16991,
"h": 117.7
},
"luminance": 0.52766
}Semantic roles & 50–950 ramp
primary
#B5CB32
secondary
#382E73
accent
#44E45B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D