#B7BB28#B7BB28
#B7BB28 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.4% C 0.157 H 111.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BB28 |
|---|---|
| RGB | rgb(183, 187, 40) |
| HSL | hsl(62, 65%, 45%) |
| HSV | hsv(62, 79%, 73%) |
| CMYK | cmyk(2.1%, 0%, 78.6%, 26.7%) |
| CIE-LAB | lab(73.39, -17.99, 67.47) |
| CIE-LCH | lch(73.39, 69.83, 104.93°) |
| OKLab | oklab(76.44% -0.057 0.1467) |
| OKLCH | oklch(76.44% 0.157 111.2) |
| XYZ | xyz(37.6831, 45.7622, 8.8550) |
| Luminance | 0.4576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.56
Puke Yellow
#C2BE0E
ΔE00 2.97
Mustard Green
#A8B504
ΔE00 2.98
Bile
#B5C306
ΔE00 3.03
Baby Puke Green
#B6C406
ΔE00 3.20
Vomit Yellow
#C7C10C
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BB28 #2C28BB
analogous
#BB7628 #B7BB28 #6DBB28
triadic
#B7BB28 #28B7BB #BB28B7
tetradic
#B7BB28 #28BB76 #2C28BB #BB286D
square
#B7BB28 #28BB76 #2C28BB #BB286D
split-complementary
#B7BB28 #286DBB #7628BB
monochromatic
#545612 #86891D #B7BB28 #D4D848 #E0E37B
Accessibility & contrast
On white
2.07
#B7BB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#B7BB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BB28
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BB28 | 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)
#CAB200
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#C4AFA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b7bb28; /* rgb */ color: rgb(183, 187, 40); /* oklch */ color: oklch(76.4% 0.157 111.2);
Tailwind
colors: {
custom: {
50: '#d1cf70',
500: '#b7bb28',
950: '#000000',
},
}SCSS
$custom: #b7bb28; $custom-light: #d1cf70; $custom-dark: #000000;
JSON
{
"hex": "#b7bb28",
"rgb": {
"r": 183,
"g": 187,
"b": 40
},
"hsl": {
"h": 61.633,
"s": 64.758,
"l": 44.51
},
"oklch": {
"l": 0.76445,
"c": 0.15741,
"h": 111.2
},
"luminance": 0.45761
}Semantic roles & 50–950 ramp
primary
#B7BB28
secondary
#7674CB
accent
#40E845
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B