#B0AB2E#B0AB2E
#B0AB2E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.3% C 0.140 H 107.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AB2E |
|---|---|
| RGB | rgb(176, 171, 46) |
| HSL | hsl(58, 59%, 44%) |
| HSV | hsv(58, 74%, 69%) |
| CMYK | cmyk(0%, 2.8%, 73.9%, 31%) |
| CIE-LAB | lab(68.43, -12.62, 60.80) |
| CIE-LCH | lch(68.43, 62.09, 101.73°) |
| OKLab | oklab(72.35% -0.0412 0.1339) |
| OKLCH | oklch(72.35% 0.14 107.1) |
| XYZ | xyz(32.9619, 38.5543, 8.2897) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.01
Vomit
#A2A415
ΔE00 3.18
Muddy Yellow
#BFAC05
ΔE00 4.76
Mustard Green
#A8B504
ΔE00 5.06
Olive Yellow
#C2B709
ΔE00 5.06
Puke Green
#9AAE07
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AB2E #2E33B0
analogous
#B06A2E #B0AB2E #74B02E
triadic
#B0AB2E #2EB0AB #AB2EB0
tetradic
#B0AB2E #2EB06A #2E33B0 #B02E74
square
#B0AB2E #2EB06A #2E33B0 #B02E74
split-complementary
#B0AB2E #2E74B0 #6A2EB0
monochromatic
#4F4D15 #7F7C21 #B0AB2E #D0CB4B #DDD97C
Accessibility & contrast
On white
2.41
#B0AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#B0AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AB2E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AB2E | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA415
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#BD9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b0ab2e; /* rgb */ color: rgb(176, 171, 46); /* oklch */ color: oklch(72.3% 0.140 107.1);
Tailwind
colors: {
custom: {
50: '#cbc370',
500: '#b0ab2e',
950: '#000000',
},
}SCSS
$custom: #b0ab2e; $custom-light: #cbc370; $custom-dark: #000000;
JSON
{
"hex": "#b0ab2e",
"rgb": {
"r": 176,
"g": 171,
"b": 46
},
"hsl": {
"h": 57.692,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.72349,
"c": 0.14007,
"h": 107.1
},
"luminance": 0.38553
}Semantic roles & 50–950 ramp
primary
#B0AB2E
secondary
#7578C5
accent
#4CE246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B