#B4BB28#B4BB28
#B4BB28 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.2% C 0.158 H 112.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB28 |
|---|---|
| RGB | rgb(180, 187, 40) |
| HSL | hsl(63, 65%, 45%) |
| HSV | hsv(63, 79%, 73%) |
| CMYK | cmyk(3.7%, 0%, 78.6%, 26.7%) |
| CIE-LAB | lab(73.15, -19.27, 67.17) |
| CIE-LCH | lch(73.15, 69.88, 106.01°) |
| OKLab | oklab(76.2% -0.0604 0.1462) |
| OKLCH | oklch(76.2% 0.158 112.5) |
| XYZ | xyz(36.9770, 45.3980, 8.8219) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.96
Mustard Green
#A8B504
ΔE00 2.51
Bile
#B5C306
ΔE00 2.79
Baby Puke Green
#B6C406
ΔE00 2.99
Puke Yellow
#C2BE0E
ΔE00 3.62
Pea
#A4BF20
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB28 #2F28BB
analogous
#BB7928 #B4BB28 #6BBB28
triadic
#B4BB28 #28B4BB #BB28B4
tetradic
#B4BB28 #28BB79 #2F28BB #BB286B
square
#B4BB28 #28BB79 #2F28BB #BB286B
split-complementary
#B4BB28 #286BBB #7928BB
monochromatic
#535612 #83891D #B4BB28 #D1D848 #DEE37B
Accessibility & contrast
On white
2.08
#B4BB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#B4BB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB28
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB28 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#C1AFA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb28; /* rgb */ color: rgb(180, 187, 40); /* oklch */ color: oklch(76.2% 0.158 112.5);
Tailwind
colors: {
custom: {
50: '#cecf6f',
500: '#b4bb28',
950: '#000000',
},
}SCSS
$custom: #b4bb28; $custom-light: #cecf6f; $custom-dark: #000000;
JSON
{
"hex": "#b4bb28",
"rgb": {
"r": 180,
"g": 187,
"b": 40
},
"hsl": {
"h": 62.857,
"s": 64.758,
"l": 44.51
},
"oklch": {
"l": 0.76196,
"c": 0.15819,
"h": 112.5
},
"luminance": 0.45397
}Semantic roles & 50–950 ramp
primary
#B4BB28
secondary
#7874CB
accent
#40E848
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B