#B5BB40#B5BB40
#B5BB40 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.144 H 112.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BB40 |
|---|---|
| RGB | rgb(181, 187, 64) |
| HSL | hsl(63, 49%, 49%) |
| HSV | hsv(63, 66%, 73%) |
| CMYK | cmyk(3.2%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(73.37, -17.69, 59.04) |
| CIE-LCH | lch(73.37, 61.63, 106.68°) |
| OKLab | oklab(76.44% -0.0539 0.1331) |
| OKLCH | oklch(76.44% 0.144 112) |
| XYZ | xyz(37.7529, 45.7354, 11.6886) |
| Luminance | 0.4573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.61
Mustard Green
#A8B504
ΔE00 3.93
Bile
#B5C306
ΔE00 4.42
Baby Puke Green
#B6C406
ΔE00 4.57
Pea
#A4BF20
ΔE00 4.72
Puke Yellow
#C2BE0E
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BB40 #4640BB
analogous
#BB8440 #B5BB40 #78BB40
triadic
#B5BB40 #40B5BB #BB40B5
tetradic
#B5BB40 #40BB84 #4640BB #BB4078
square
#B5BB40 #40BB84 #4640BB #BB4078
split-complementary
#B5BB40 #4078BB #8440BB
monochromatic
#5D6021 #898D30 #B5BB40 #C8CD6C #D9DC99
Accessibility & contrast
On white
2.07
#B5BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#B5BB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BB40
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BB40 | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#C1B0A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b5bb40; /* rgb */ color: rgb(181, 187, 64); /* oklch */ color: oklch(76.4% 0.144 112.0);
Tailwind
colors: {
custom: {
50: '#cecf7b',
500: '#b5bb40',
950: '#000000',
},
}SCSS
$custom: #b5bb40; $custom-light: #cecf7b; $custom-dark: #000000;
JSON
{
"hex": "#b5bb40",
"rgb": {
"r": 181,
"g": 187,
"b": 64
},
"hsl": {
"h": 62.927,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.76437,
"c": 0.14359,
"h": 112
},
"luminance": 0.45735
}Semantic roles & 50–950 ramp
primary
#B5BB40
secondary
#928FC8
accent
#4FD956
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C