#B5AC2A#B5AC2A
#B5AC2A is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.143 H 105.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AC2A |
|---|---|
| RGB | rgb(181, 172, 42) |
| HSL | hsl(56, 62%, 44%) |
| HSV | hsv(56, 77%, 71%) |
| CMYK | cmyk(0%, 5%, 76.8%, 29%) |
| CIE-LAB | lab(69.11, -11.13, 62.94) |
| CIE-LCH | lch(69.11, 63.91, 100.02°) |
| OKLab | oklab(72.99% -0.0376 0.1375) |
| OKLCH | oklch(72.99% 0.143 105.3) |
| XYZ | xyz(34.2280, 39.4973, 8.0108) |
| Luminance | 0.3950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.48
Puke
#A5A502
ΔE00 3.63
Olive Yellow
#C2B709
ΔE00 4.08
Vomit
#A2A415
ΔE00 4.11
Brownish Yellow
#C9B003
ΔE00 5.30
Puke Yellow
#C2BE0E
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AC2A #2A33B5
analogous
#B5662A #B5AC2A #78B52A
triadic
#B5AC2A #2AB5AC #AC2AB5
tetradic
#B5AC2A #2AB566 #2A33B5 #B52A78
square
#B5AC2A #2AB566 #2A33B5 #B52A78
split-complementary
#B5AC2A #2A78B5 #662AB5
monochromatic
#524E13 #837D1E #B5AC2A #D4CB48 #E0D979
Accessibility & contrast
On white
2.36
#B5AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#B5AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AC2A
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AC2A | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA609
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b5ac2a; /* rgb */ color: rgb(181, 172, 42); /* oklch */ color: oklch(73.0% 0.143 105.3);
Tailwind
colors: {
custom: {
50: '#cfc46e',
500: '#b5ac2a',
950: '#000000',
},
}SCSS
$custom: #b5ac2a; $custom-light: #cfc46e; $custom-dark: #000000;
JSON
{
"hex": "#b5ac2a",
"rgb": {
"r": 181,
"g": 172,
"b": 42
},
"hsl": {
"h": 56.115,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.7299,
"c": 0.14253,
"h": 105.3
},
"luminance": 0.39496
}Semantic roles & 50–950 ramp
primary
#B5AC2A
secondary
#7378C8
accent
#4DE542
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B