#B7BB42#B7BB42
#B7BB42 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.6% C 0.142 H 111.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BB42 |
|---|---|
| RGB | rgb(183, 187, 66) |
| HSL | hsl(62, 48%, 50%) |
| HSV | hsv(62, 65%, 73%) |
| CMYK | cmyk(2.1%, 0%, 64.7%, 26.7%) |
| CIE-LAB | lab(73.55, -16.72, 58.46) |
| CIE-LCH | lch(73.55, 60.80, 105.96°) |
| OKLab | oklab(76.62% -0.0511 0.1321) |
| OKLCH | oklch(76.62% 0.142 111.1) |
| XYZ | xyz(38.2833, 46.0022, 12.0158) |
| Luminance | 0.4600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.97
Mustard Green
#A8B504
ΔE00 4.26
Bile
#B5C306
ΔE00 4.65
Baby Puke Green
#B6C406
ΔE00 4.79
Puke Yellow
#C2BE0E
ΔE00 4.85
Pea
#A4BF20
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BB42 #4642BB
analogous
#BB8242 #B7BB42 #7BBB42
triadic
#B7BB42 #42B7BB #BB42B7
tetradic
#B7BB42 #42BB82 #4642BB #BB427B
square
#B7BB42 #42BB82 #4642BB #BB427B
split-complementary
#B7BB42 #427BBB #8242BB
monochromatic
#5E6122 #8B8E32 #B7BB42 #C9CC6E #DADC9C
Accessibility & contrast
On white
2.06
#B7BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#B7BB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BB42
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BB42 | 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)
#C9B332
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#C3B0A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #b7bb42; /* rgb */ color: rgb(183, 187, 66); /* oklch */ color: oklch(76.6% 0.142 111.1);
Tailwind
colors: {
custom: {
50: '#d0cf7d',
500: '#b7bb42',
950: '#000000',
},
}SCSS
$custom: #b7bb42; $custom-light: #d0cf7d; $custom-dark: #000000;
JSON
{
"hex": "#b7bb42",
"rgb": {
"r": 183,
"g": 187,
"b": 66
},
"hsl": {
"h": 61.983,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.7662,
"c": 0.14166,
"h": 111.1
},
"luminance": 0.46001
}Semantic roles & 50–950 ramp
primary
#B7BB42
secondary
#9391C8
accent
#50D755
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C