#B8AC3A#B8AC3A
#B8AC3A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.132 H 103.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B8AC3A |
|---|---|
| RGB | rgb(184, 172, 58) |
| HSL | hsl(54, 52%, 47%) |
| HSV | hsv(54, 68%, 72%) |
| CMYK | cmyk(0%, 6.5%, 68.5%, 27.8%) |
| CIE-LAB | lab(69.47, -9.06, 57.54) |
| CIE-LCH | lch(69.47, 58.25, 98.95°) |
| OKLab | oklab(73.37% -0.0304 0.1289) |
| OKLCH | oklch(73.37% 0.132 103.3) |
| XYZ | xyz(35.2849, 40.0023, 9.8648) |
| Luminance | 0.4000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.05
Puke
#A5A502
ΔE00 4.94
Olive Yellow
#C2B709
ΔE00 4.98
Vomit
#A2A415
ΔE00 5.17
Brownish Yellow
#C9B003
ΔE00 5.50
Mustard (survey)
#CEB301
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8AC3A #3A46B8
analogous
#B86D3A #B8AC3A #85B83A
triadic
#B8AC3A #3AB8AC #AC3AB8
tetradic
#B8AC3A #3AB86D #3A46B8 #B83A85
square
#B8AC3A #3AB86D #3A46B8 #B83A85
split-complementary
#B8AC3A #3A85B8 #6D3AB8
monochromatic
#5B551D #89812B #B8AC3A #CDC362 #DCD590
Accessibility & contrast
On white
2.33
#B8AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#B8AC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8AC3A
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8AC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8AC3A | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b8ac3a; /* rgb */ color: rgb(184, 172, 58); /* oklch */ color: oklch(73.4% 0.132 103.3);
Tailwind
colors: {
custom: {
50: '#d1c477',
500: '#b8ac3a',
950: '#000000',
},
}SCSS
$custom: #b8ac3a; $custom-light: #d1c477; $custom-dark: #000000;
JSON
{
"hex": "#b8ac3a",
"rgb": {
"r": 184,
"g": 172,
"b": 58
},
"hsl": {
"h": 54.286,
"s": 52.066,
"l": 47.451
},
"oklch": {
"l": 0.73372,
"c": 0.13239,
"h": 103.3
},
"luminance": 0.40001
}Semantic roles & 50–950 ramp
primary
#B8AC3A
secondary
#878DC7
accent
#5ADC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B