#B5C932#B5C932
#B5C932 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.168 H 117.1°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C932 |
|---|---|
| RGB | rgb(181, 201, 50) |
| HSL | hsl(68, 60%, 49%) |
| HSV | hsv(68, 75%, 79%) |
| CMYK | cmyk(10%, 0%, 75.1%, 21.2%) |
| CIE-LAB | lab(77.18, -25.32, 67.83) |
| CIE-LCH | lch(77.18, 72.40, 110.47°) |
| OKLab | oklab(79.46% -0.0764 0.1493) |
| OKLCH | oklch(79.46% 0.168 117.1) |
| XYZ | xyz(40.5194, 51.8278, 10.8862) |
| Luminance | 0.5183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.45
Baby Puke Green
#B6C406
ΔE00 2.79
Bile
#B5C306
ΔE00 2.85
Pea
#A4BF20
ΔE00 3.26
Gross Green
#A0BF16
ΔE00 3.80
Snot
#ACBB0D
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C932 #4632C9
analogous
#C99232 #B5C932 #6AC932
triadic
#B5C932 #32B5C9 #C932B5
tetradic
#B5C932 #32C992 #4632C9 #C9326A
square
#B5C932 #32C992 #4632C9 #C9326A
split-complementary
#B5C932 #326AC9 #9232C9
monochromatic
#5D671A #899826 #B5C932 #C8D861 #D9E492
Accessibility & contrast
On white
1.85
#B5C932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#B5C932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C932
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C932 | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE0C
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#C0BEAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b5c932; /* rgb */ color: rgb(181, 201, 50); /* oklch */ color: oklch(79.5% 0.168 117.1);
Tailwind
colors: {
custom: {
50: '#cfd976',
500: '#b5c932',
950: '#000000',
},
}SCSS
$custom: #b5c932; $custom-light: #cfd976; $custom-dark: #000000;
JSON
{
"hex": "#b5c932",
"rgb": {
"r": 181,
"g": 201,
"b": 50
},
"hsl": {
"h": 67.947,
"s": 60.159,
"l": 49.216
},
"oklch": {
"l": 0.7946,
"c": 0.16771,
"h": 117.1
},
"luminance": 0.51827
}Semantic roles & 50–950 ramp
primary
#B5C932
secondary
#372E71
accent
#44E35A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D