#B7BB40#B7BB40
#B7BB40 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.143 H 111.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BB40 |
|---|---|
| RGB | rgb(183, 187, 64) |
| HSL | hsl(62, 49%, 49%) |
| HSV | hsv(62, 66%, 73%) |
| CMYK | cmyk(2.1%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(73.53, -16.84, 59.25) |
| CIE-LCH | lch(73.53, 61.60, 105.87°) |
| OKLab | oklab(76.6% -0.0516 0.1335) |
| OKLCH | oklch(76.6% 0.143 111.1) |
| XYZ | xyz(38.2253, 45.9790, 11.7107) |
| Luminance | 0.4598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.79
Mustard Green
#A8B504
ΔE00 4.10
Bile
#B5C306
ΔE00 4.48
Baby Puke Green
#B6C406
ΔE00 4.62
Puke Yellow
#C2BE0E
ΔE00 4.66
Pea
#A4BF20
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BB40 #4440BB
analogous
#BB8240 #B7BB40 #7ABB40
triadic
#B7BB40 #40B7BB #BB40B7
tetradic
#B7BB40 #40BB82 #4440BB #BB407A
square
#B7BB40 #40BB82 #4440BB #BB407A
split-complementary
#B7BB40 #407ABB #8240BB
monochromatic
#5E6021 #8A8D30 #B7BB40 #C9CD6C #DADC99
Accessibility & contrast
On white
2.06
#B7BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#B7BB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BB40
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BB40 | 1.00 | 2.06 | 10.20 | 10.20 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B32F
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#C3B0A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b7bb40; /* rgb */ color: rgb(183, 187, 64); /* oklch */ color: oklch(76.6% 0.143 111.1);
Tailwind
colors: {
custom: {
50: '#d0cf7b',
500: '#b7bb40',
950: '#000000',
},
}SCSS
$custom: #b7bb40; $custom-light: #d0cf7b; $custom-dark: #000000;
JSON
{
"hex": "#b7bb40",
"rgb": {
"r": 183,
"g": 187,
"b": 64
},
"hsl": {
"h": 61.951,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.76603,
"c": 0.14312,
"h": 111.1
},
"luminance": 0.45978
}Semantic roles & 50–950 ramp
primary
#B7BB40
secondary
#918FC8
accent
#4FD954
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C