#B4C932#B4C932
#B4C932 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.168 H 117.5°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C932 |
|---|---|
| RGB | rgb(180, 201, 50) |
| HSL | hsl(68, 60%, 49%) |
| HSV | hsv(68, 75%, 79%) |
| CMYK | cmyk(10.4%, 0%, 75.1%, 21.2%) |
| CIE-LAB | lab(77.11, -25.73, 67.73) |
| CIE-LCH | lch(77.11, 72.46, 110.80°) |
| OKLab | oklab(79.38% -0.0775 0.1491) |
| OKLCH | oklch(79.38% 0.168 117.5) |
| XYZ | xyz(40.2857, 51.7073, 10.8753) |
| Luminance | 0.5171 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.47
Baby Puke Green
#B6C406
ΔE00 2.93
Bile
#B5C306
ΔE00 2.98
Pea
#A4BF20
ΔE00 3.14
Gross Green
#A0BF16
ΔE00 3.65
Snot
#ACBB0D
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C932 #4732C9
analogous
#C99232 #B4C932 #69C932
triadic
#B4C932 #32B4C9 #C932B4
tetradic
#B4C932 #32C992 #4732C9 #C93269
square
#B4C932 #32C992 #4732C9 #C93269
split-complementary
#B4C932 #3269C9 #9232C9
monochromatic
#5C671A #889826 #B4C932 #C7D861 #D8E492
Accessibility & contrast
On white
1.85
#B4C932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.34
#B4C932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C932
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C932 | 1.00 | 1.85 | 11.34 | 11.34 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE0C
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b4c932; /* rgb */ color: rgb(180, 201, 50); /* oklch */ color: oklch(79.4% 0.168 117.5);
Tailwind
colors: {
custom: {
50: '#ced976',
500: '#b4c932',
950: '#000000',
},
}SCSS
$custom: #b4c932; $custom-light: #ced976; $custom-dark: #000000;
JSON
{
"hex": "#b4c932",
"rgb": {
"r": 180,
"g": 201,
"b": 50
},
"hsl": {
"h": 68.344,
"s": 60.159,
"l": 49.216
},
"oklch": {
"l": 0.79384,
"c": 0.16806,
"h": 117.5
},
"luminance": 0.51707
}Semantic roles & 50–950 ramp
primary
#B4C932
secondary
#372E71
accent
#44E35B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D