#B8BB2A#B8BB2A
#B8BB2A is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.5% C 0.156 H 110.8°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BB2A |
|---|---|
| RGB | rgb(184, 187, 42) |
| HSL | hsl(61, 63%, 45%) |
| HSV | hsv(61, 78%, 73%) |
| CMYK | cmyk(1.6%, 0%, 77.5%, 26.7%) |
| CIE-LAB | lab(73.48, -17.49, 66.99) |
| CIE-LCH | lch(73.48, 69.24, 104.63°) |
| OKLab | oklab(76.54% -0.0555 0.146) |
| OKLCH | oklch(76.54% 0.156 110.8) |
| XYZ | xyz(37.9568, 45.8992, 9.0500) |
| Luminance | 0.4590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.82
Puke Yellow
#C2BE0E
ΔE00 2.86
Mustard Green
#A8B504
ΔE00 3.20
Bile
#B5C306
ΔE00 3.21
Baby Puke Green
#B6C406
ΔE00 3.37
Vomit Yellow
#C7C10C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BB2A #2D2ABB
analogous
#BB752A #B8BB2A #70BB2A
triadic
#B8BB2A #2AB8BB #BB2AB8
tetradic
#B8BB2A #2ABB75 #2D2ABB #BB2A70
square
#B8BB2A #2ABB75 #2D2ABB #BB2A70
split-complementary
#B8BB2A #2A70BB #752ABB
monochromatic
#565714 #87891F #B8BB2A #D4D74C #E0E27D
Accessibility & contrast
On white
2.06
#B8BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#B8BB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BB2A
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BB2A | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#C5AFA0
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #b8bb2a; /* rgb */ color: rgb(184, 187, 42); /* oklch */ color: oklch(76.5% 0.156 110.8);
Tailwind
colors: {
custom: {
50: '#d1cf70',
500: '#b8bb2a',
950: '#000000',
},
}SCSS
$custom: #b8bb2a; $custom-light: #d1cf70; $custom-dark: #000000;
JSON
{
"hex": "#b8bb2a",
"rgb": {
"r": 184,
"g": 187,
"b": 42
},
"hsl": {
"h": 61.241,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.76539,
"c": 0.15622,
"h": 110.8
},
"luminance": 0.45898
}Semantic roles & 50–950 ramp
primary
#B8BB2A
secondary
#7876CA
accent
#41E645
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B