#B0AC2A#B0AC2A
#B0AC2A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.5% C 0.143 H 107.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B0AC2A |
|---|---|
| RGB | rgb(176, 172, 42) |
| HSL | hsl(58, 61%, 43%) |
| HSV | hsv(58, 76%, 69%) |
| CMYK | cmyk(0%, 2.3%, 76.1%, 31%) |
| CIE-LAB | lab(68.68, -13.31, 62.39) |
| CIE-LCH | lch(68.68, 63.79, 102.05°) |
| OKLab | oklab(72.55% -0.0435 0.1365) |
| OKLCH | oklch(72.55% 0.143 107.7) |
| XYZ | xyz(33.0763, 38.9035, 7.9568) |
| Luminance | 0.3890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.87
Vomit
#A2A415
ΔE00 3.14
Mustard Green
#A8B504
ΔE00 4.60
Muddy Yellow
#BFAC05
ΔE00 4.72
Olive Yellow
#C2B709
ΔE00 4.75
Puke Green
#9AAE07
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0AC2A #2A2EB0
analogous
#B0692A #B0AC2A #71B02A
triadic
#B0AC2A #2AB0AC #AC2AB0
tetradic
#B0AC2A #2AB069 #2A2EB0 #B02A71
square
#B0AC2A #2AB069 #2A2EB0 #B02A71
split-complementary
#B0AC2A #2A71B0 #692AB0
monochromatic
#4D4B12 #7F7C1E #B0AC2A #D3CE45 #DEDB76
Accessibility & contrast
On white
2.39
#B0AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B0AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0AC2A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0AC2A | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#BDA094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b0ac2a; /* rgb */ color: rgb(176, 172, 42); /* oklch */ color: oklch(72.5% 0.143 107.7);
Tailwind
colors: {
custom: {
50: '#cbc46e',
500: '#b0ac2a',
950: '#000000',
},
}SCSS
$custom: #b0ac2a; $custom-light: #cbc46e; $custom-dark: #000000;
JSON
{
"hex": "#b0ac2a",
"rgb": {
"r": 176,
"g": 172,
"b": 42
},
"hsl": {
"h": 58.209,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.72545,
"c": 0.14326,
"h": 107.7
},
"luminance": 0.38902
}Semantic roles & 50–950 ramp
primary
#B0AC2A
secondary
#7072C6
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B