#B0AB28#B0AB28
#B0AB28 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.143 H 107.2°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AB28 |
|---|---|
| RGB | rgb(176, 171, 40) |
| HSL | hsl(58, 63%, 42%) |
| HSV | hsv(58, 77%, 69%) |
| CMYK | cmyk(0%, 2.8%, 77.3%, 31%) |
| CIE-LAB | lab(68.39, -12.88, 62.77) |
| CIE-LCH | lch(68.39, 64.07, 101.59°) |
| OKLab | oklab(72.31% -0.0424 0.1369) |
| OKLCH | oklch(72.31% 0.143 107.2) |
| XYZ | xyz(32.8518, 38.5103, 7.7098) |
| Luminance | 0.3851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.72
Vomit
#A2A415
ΔE00 3.06
Muddy Yellow
#BFAC05
ΔE00 4.48
Olive Yellow
#C2B709
ΔE00 4.76
Mustard Green
#A8B504
ΔE00 4.87
Puke Yellow
#C2BE0E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AB28 #282DB0
analogous
#B06728 #B0AB28 #71B028
triadic
#B0AB28 #28B0AB #AB28B0
tetradic
#B0AB28 #28B067 #282DB0 #B02871
square
#B0AB28 #28B067 #282DB0 #B02871
split-complementary
#B0AB28 #2871B0 #6728B0
monochromatic
#4C4A11 #7E7B1D #B0AB28 #D4CE41 #DFDB73
Accessibility & contrast
On white
2.41
#B0AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#B0AB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AB28
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AB28 | 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)
#BAA403
Deuteranopia (green-blind)
#BCA933
Tritanopia (blue-blind)
#BD9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b0ab28; /* rgb */ color: rgb(176, 171, 40); /* oklch */ color: oklch(72.3% 0.143 107.2);
Tailwind
colors: {
custom: {
50: '#cbc36d',
500: '#b0ab28',
950: '#000000',
},
}SCSS
$custom: #b0ab28; $custom-light: #cbc36d; $custom-dark: #000000;
JSON
{
"hex": "#b0ab28",
"rgb": {
"r": 176,
"g": 171,
"b": 40
},
"hsl": {
"h": 57.794,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.72313,
"c": 0.14337,
"h": 107.2
},
"luminance": 0.38509
}Semantic roles & 50–950 ramp
primary
#B0AB28
secondary
#6D71C6
accent
#48E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B