#B8AC2A#B8AC2A
#B8AC2A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.142 H 103.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AC2A |
|---|---|
| RGB | rgb(184, 172, 42) |
| HSL | hsl(55, 63%, 44%) |
| HSV | hsv(55, 77%, 72%) |
| CMYK | cmyk(0%, 6.5%, 77.2%, 27.8%) |
| CIE-LAB | lab(69.37, -9.81, 63.27) |
| CIE-LCH | lch(69.37, 64.03, 98.81°) |
| OKLab | oklab(73.26% -0.0341 0.1381) |
| OKLCH | oklch(73.26% 0.142 103.9) |
| XYZ | xyz(34.9392, 39.8640, 8.0442) |
| Luminance | 0.3986 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.81
Olive Yellow
#C2B709
ΔE00 3.87
Puke
#A5A502
ΔE00 4.26
Brownish Yellow
#C9B003
ΔE00 4.56
Vomit
#A2A415
ΔE00 4.80
Mustard (survey)
#CEB301
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AC2A #2A36B8
analogous
#B8652A #B8AC2A #7DB82A
triadic
#B8AC2A #2AB8AC #AC2AB8
tetradic
#B8AC2A #2AB865 #2A36B8 #B82A7D
square
#B8AC2A #2AB865 #2A36B8 #B82A7D
split-complementary
#B8AC2A #2A7DB8 #652AB8
monochromatic
#544F13 #867D1F #B8AC2A #D6CA4A #E1D87B
Accessibility & contrast
On white
2.34
#B8AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#B8AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AC2A
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AC2A | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA609
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b8ac2a; /* rgb */ color: rgb(184, 172, 42); /* oklch */ color: oklch(73.3% 0.142 103.9);
Tailwind
colors: {
custom: {
50: '#d1c46f',
500: '#b8ac2a',
950: '#000000',
},
}SCSS
$custom: #b8ac2a; $custom-light: #d1c46f; $custom-dark: #000000;
JSON
{
"hex": "#b8ac2a",
"rgb": {
"r": 184,
"g": 172,
"b": 42
},
"hsl": {
"h": 54.93,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.73262,
"c": 0.14221,
"h": 103.9
},
"luminance": 0.39863
}Semantic roles & 50–950 ramp
primary
#B8AC2A
secondary
#757CC9
accent
#50E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B