#B9AC3A#B9AC3A
#B9AC3A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.132 H 102.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B9AC3A |
|---|---|
| RGB | rgb(185, 172, 58) |
| HSL | hsl(54, 52%, 48%) |
| HSV | hsv(54, 69%, 73%) |
| CMYK | cmyk(0%, 7%, 68.6%, 27.5%) |
| CIE-LAB | lab(69.56, -8.62, 57.66) |
| CIE-LCH | lch(69.56, 58.30, 98.51°) |
| OKLab | oklab(73.46% -0.0292 0.1291) |
| OKLCH | oklch(73.46% 0.132 102.7) |
| XYZ | xyz(35.5253, 40.1263, 9.8760) |
| Luminance | 0.4012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.90
Olive Yellow
#C2B709
ΔE00 4.95
Puke
#A5A502
ΔE00 5.13
Brownish Yellow
#C9B003
ΔE00 5.29
Vomit
#A2A415
ΔE00 5.39
Mustard (survey)
#CEB301
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9AC3A #3A47B9
analogous
#B96C3A #B9AC3A #87B93A
triadic
#B9AC3A #3AB9AC #AC3AB9
tetradic
#B9AC3A #3AB96C #3A47B9 #B93A87
square
#B9AC3A #3AB96C #3A47B9 #B93A87
split-complementary
#B9AC3A #3A87B9 #6C3AB9
monochromatic
#5C551D #8A812B #B9AC3A #CEC362 #DCD591
Accessibility & contrast
On white
2.33
#B9AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#B9AC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9AC3A
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9AC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9AC3A | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#BFAD41
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b9ac3a; /* rgb */ color: rgb(185, 172, 58); /* oklch */ color: oklch(73.5% 0.132 102.7);
Tailwind
colors: {
custom: {
50: '#d1c477',
500: '#b9ac3a',
950: '#000000',
},
}SCSS
$custom: #b9ac3a; $custom-light: #d1c477; $custom-dark: #000000;
JSON
{
"hex": "#b9ac3a",
"rgb": {
"r": 185,
"g": 172,
"b": 58
},
"hsl": {
"h": 53.858,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.73463,
"c": 0.13234,
"h": 102.7
},
"luminance": 0.40125
}Semantic roles & 50–950 ramp
primary
#B9AC3A
secondary
#878EC7
accent
#5BDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B