#B4BB40#B4BB40
#B4BB40 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.144 H 112.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BB40 |
|---|---|
| RGB | rgb(180, 187, 64) |
| HSL | hsl(63, 49%, 49%) |
| HSV | hsv(63, 66%, 73%) |
| CMYK | cmyk(3.7%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(73.29, -18.11, 58.93) |
| CIE-LCH | lch(73.29, 61.65, 107.08°) |
| OKLab | oklab(76.35% -0.055 0.1329) |
| OKLCH | oklch(76.35% 0.144 112.5) |
| XYZ | xyz(37.5192, 45.6149, 11.6776) |
| Luminance | 0.4561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.54
Mustard Green
#A8B504
ΔE00 3.88
Bile
#B5C306
ΔE00 4.42
Pea
#A4BF20
ΔE00 4.52
Baby Puke Green
#B6C406
ΔE00 4.57
Sick Green
#9DB92C
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BB40 #4740BB
analogous
#BB8540 #B4BB40 #77BB40
triadic
#B4BB40 #40B4BB #BB40B4
tetradic
#B4BB40 #40BB85 #4740BB #BB4077
square
#B4BB40 #40BB85 #4740BB #BB4077
split-complementary
#B4BB40 #4077BB #8540BB
monochromatic
#5C6021 #888D30 #B4BB40 #C7CD6C #D8DC99
Accessibility & contrast
On white
2.07
#B4BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#B4BB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BB40
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BB40 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#C9B548
Tritanopia (blue-blind)
#C0B0A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b4bb40; /* rgb */ color: rgb(180, 187, 64); /* oklch */ color: oklch(76.4% 0.144 112.5);
Tailwind
colors: {
custom: {
50: '#cdcf7b',
500: '#b4bb40',
950: '#000000',
},
}SCSS
$custom: #b4bb40; $custom-light: #cdcf7b; $custom-dark: #000000;
JSON
{
"hex": "#b4bb40",
"rgb": {
"r": 180,
"g": 187,
"b": 64
},
"hsl": {
"h": 63.415,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.76355,
"c": 0.14383,
"h": 112.5
},
"luminance": 0.45614
}Semantic roles & 50–950 ramp
primary
#B4BB40
secondary
#928FC8
accent
#4FD957
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C