#B0AB26#B0AB26
#B0AB26 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.144 H 107.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AB26 |
|---|---|
| RGB | rgb(176, 171, 38) |
| HSL | hsl(58, 64%, 42%) |
| HSV | hsv(58, 78%, 69%) |
| CMYK | cmyk(0%, 2.8%, 78.4%, 31%) |
| CIE-LAB | lab(68.39, -12.95, 63.38) |
| CIE-LCH | lch(68.39, 64.69, 101.55°) |
| OKLab | oklab(72.3% -0.0428 0.1379) |
| OKLCH | oklch(72.3% 0.144 107.2) |
| XYZ | xyz(32.8186, 38.4970, 7.5353) |
| Luminance | 0.3850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.65
Vomit
#A2A415
ΔE00 3.05
Muddy Yellow
#BFAC05
ΔE00 4.40
Olive Yellow
#C2B709
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 4.82
Puke Yellow
#C2BE0E
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AB26 #262BB0
analogous
#B06626 #B0AB26 #70B026
triadic
#B0AB26 #26B0AB #AB26B0
tetradic
#B0AB26 #26B066 #262BB0 #B02670
square
#B0AB26 #26B066 #262BB0 #B02670
split-complementary
#B0AB26 #2670B0 #6626B0
monochromatic
#4B4910 #7E7A1B #B0AB26 #D5D03E #E0DC70
Accessibility & contrast
On white
2.41
#B0AB26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B0AB26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AB26
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AB26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AB26 | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#BD9F92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b0ab26; /* rgb */ color: rgb(176, 171, 38); /* oklch */ color: oklch(72.3% 0.144 107.2);
Tailwind
colors: {
custom: {
50: '#cbc36c',
500: '#b0ab26',
950: '#000000',
},
}SCSS
$custom: #b0ab26; $custom-light: #cbc36c; $custom-dark: #000000;
JSON
{
"hex": "#b0ab26",
"rgb": {
"r": 176,
"g": 171,
"b": 38
},
"hsl": {
"h": 57.826,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.72302,
"c": 0.14437,
"h": 107.2
},
"luminance": 0.38496
}Semantic roles & 50–950 ramp
primary
#B0AB26
secondary
#6B6EC7
accent
#46E740
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B