#B4BB42#B4BB42
#B4BB42 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.142 H 112.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB42 |
|---|---|
| RGB | rgb(180, 187, 66) |
| HSL | hsl(63, 48%, 50%) |
| HSV | hsv(63, 65%, 73%) |
| CMYK | cmyk(3.7%, 0%, 64.7%, 26.7%) |
| CIE-LAB | lab(73.31, -17.99, 58.14) |
| CIE-LCH | lch(73.31, 60.86, 107.19°) |
| OKLab | oklab(76.37% -0.0544 0.1315) |
| OKLCH | oklch(76.37% 0.142 112.5) |
| XYZ | xyz(37.5771, 45.6381, 11.9827) |
| Luminance | 0.4564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.73
Mustard Green
#A8B504
ΔE00 4.06
Bile
#B5C306
ΔE00 4.61
Pea
#A4BF20
ΔE00 4.62
Baby Puke Green
#B6C406
ΔE00 4.76
Sick Green
#9DB92C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB42 #4942BB
analogous
#BB8642 #B4BB42 #78BB42
triadic
#B4BB42 #42B4BB #BB42B4
tetradic
#B4BB42 #42BB86 #4942BB #BB4278
square
#B4BB42 #42BB86 #4942BB #BB4278
split-complementary
#B4BB42 #4278BB #8642BB
monochromatic
#5D6122 #888E32 #B4BB42 #C7CC6E #D8DC9C
Accessibility & contrast
On white
2.07
#B4BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#B4BB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB42
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB42 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#C9B54A
Tritanopia (blue-blind)
#C0B0A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb42; /* rgb */ color: rgb(180, 187, 66); /* oklch */ color: oklch(76.4% 0.142 112.5);
Tailwind
colors: {
custom: {
50: '#cdcf7d',
500: '#b4bb42',
950: '#000000',
},
}SCSS
$custom: #b4bb42; $custom-light: #cdcf7d; $custom-dark: #000000;
JSON
{
"hex": "#b4bb42",
"rgb": {
"r": 180,
"g": 187,
"b": 66
},
"hsl": {
"h": 63.471,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.76372,
"c": 0.14235,
"h": 112.5
},
"luminance": 0.45637
}Semantic roles & 50–950 ramp
primary
#B4BB42
secondary
#9491C8
accent
#50D758
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C