#B4AC2A#B4AC2A
#B4AC2A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.143 H 105.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AC2A |
|---|---|
| RGB | rgb(180, 172, 42) |
| HSL | hsl(57, 62%, 44%) |
| HSV | hsv(57, 77%, 71%) |
| CMYK | cmyk(0%, 4.4%, 76.7%, 29.4%) |
| CIE-LAB | lab(69.02, -11.56, 62.83) |
| CIE-LCH | lch(69.02, 63.88, 100.43°) |
| OKLab | oklab(72.9% -0.0388 0.1373) |
| OKLCH | oklch(72.9% 0.143 105.8) |
| XYZ | xyz(33.9943, 39.3768, 7.9999) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.45
Muddy Yellow
#BFAC05
ΔE00 3.72
Vomit
#A2A415
ΔE00 3.90
Olive Yellow
#C2B709
ΔE00 4.18
Mustard Green
#A8B504
ΔE00 5.41
Puke Yellow
#C2BE0E
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AC2A #2A32B4
analogous
#B4672A #B4AC2A #77B42A
triadic
#B4AC2A #2AB4AC #AC2AB4
tetradic
#B4AC2A #2AB467 #2A32B4 #B42A77
square
#B4AC2A #2AB467 #2A32B4 #B42A77
split-complementary
#B4AC2A #2A77B4 #672AB4
monochromatic
#514D13 #827D1E #B4AC2A #D4CC47 #E0DA79
Accessibility & contrast
On white
2.37
#B4AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#B4AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AC2A
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AC2A | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA609
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b4ac2a; /* rgb */ color: rgb(180, 172, 42); /* oklch */ color: oklch(72.9% 0.143 105.8);
Tailwind
colors: {
custom: {
50: '#cec46e',
500: '#b4ac2a',
950: '#000000',
},
}SCSS
$custom: #b4ac2a; $custom-light: #cec46e; $custom-dark: #000000;
JSON
{
"hex": "#b4ac2a",
"rgb": {
"r": 180,
"g": 172,
"b": 42
},
"hsl": {
"h": 56.522,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.729,
"c": 0.14266,
"h": 105.8
},
"luminance": 0.39376
}Semantic roles & 50–950 ramp
primary
#B4AC2A
secondary
#7277C8
accent
#4CE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B