#B4BB31#B4BB31
#B4BB31 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.2% C 0.154 H 112.5°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB31 |
|---|---|
| RGB | rgb(180, 187, 49) |
| HSL | hsl(63, 58%, 46%) |
| HSV | hsv(63, 74%, 73%) |
| CMYK | cmyk(3.7%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(73.20, -18.90, 64.39) |
| CIE-LCH | lch(73.20, 67.11, 106.36°) |
| OKLab | oklab(76.25% -0.0587 0.1419) |
| OKLCH | oklch(76.25% 0.154 112.5) |
| XYZ | xyz(37.1483, 45.4666, 9.7242) |
| Luminance | 0.4547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.37
Mustard Green
#A8B504
ΔE00 2.84
Bile
#B5C306
ΔE00 3.25
Baby Puke Green
#B6C406
ΔE00 3.43
Puke Yellow
#C2BE0E
ΔE00 4.08
Pea
#A4BF20
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB31 #3831BB
analogous
#BB7D31 #B4BB31 #6FBB31
triadic
#B4BB31 #31B4BB #BB31B4
tetradic
#B4BB31 #31BB7D #3831BB #BB316F
square
#B4BB31 #31BB7D #3831BB #BB316F
split-complementary
#B4BB31 #316FBB #7D31BB
monochromatic
#575A18 #858B24 #B4BB31 #CDD356 #DBE087
Accessibility & contrast
On white
2.08
#B4BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#B4BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB31
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB31 | 1.00 | 2.08 | 10.09 | 10.09 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#CAB53C
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb31; /* rgb */ color: rgb(180, 187, 49); /* oklch */ color: oklch(76.2% 0.154 112.5);
Tailwind
colors: {
custom: {
50: '#cecf74',
500: '#b4bb31',
950: '#000000',
},
}SCSS
$custom: #b4bb31; $custom-light: #cecf74; $custom-dark: #000000;
JSON
{
"hex": "#b4bb31",
"rgb": {
"r": 180,
"g": 187,
"b": 49
},
"hsl": {
"h": 63.043,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.76246,
"c": 0.15354,
"h": 112.5
},
"luminance": 0.45466
}Semantic roles & 50–950 ramp
primary
#B4BB31
secondary
#827FC9
accent
#46E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B