#B9AA46#B9AA46
#B9AA46 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.121 H 100.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B9AA46 |
|---|---|
| RGB | rgb(185, 170, 70) |
| HSL | hsl(52, 45%, 50%) |
| HSV | hsv(52, 62%, 73%) |
| CMYK | cmyk(0%, 8.1%, 62.2%, 27.5%) |
| CIE-LAB | lab(69.12, -6.84, 52.08) |
| CIE-LCH | lch(69.12, 52.53, 97.48°) |
| OKLab | oklab(73.14% -0.0227 0.1192) |
| OKLCH | oklch(73.14% 0.121 100.8) |
| XYZ | xyz(35.4892, 39.5074, 11.5495) |
| Luminance | 0.3951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.27
Darkkhaki
#BDB76B
ΔE00 5.82
Puke
#A5A502
ΔE00 6.34
Khaki (survey)
#AAA662
ΔE00 6.36
Vomit
#A2A415
ΔE00 6.38
Brownish Yellow
#C9B003
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9AA46 #4655B9
analogous
#B97146 #B9AA46 #8EB946
triadic
#B9AA46 #46B9AA #AA46B9
tetradic
#B9AA46 #46B971 #4655B9 #B9468E
square
#B9AA46 #46B971 #4655B9 #B9468E
split-complementary
#B9AA46 #468EB9 #7146B9
monochromatic
#605824 #8D8135 #B9AA46 #CABE72 #DBD39F
Accessibility & contrast
On white
2.36
#B9AA46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#B9AA46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9AA46
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9AA46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9AA46 | 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)
#B9A53B
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#C69F95
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b9aa46; /* rgb */ color: rgb(185, 170, 70); /* oklch */ color: oklch(73.1% 0.121 100.8);
Tailwind
colors: {
custom: {
50: '#d1c37e',
500: '#b9aa46',
950: '#000000',
},
}SCSS
$custom: #b9aa46; $custom-light: #d1c37e; $custom-dark: #000000;
JSON
{
"hex": "#b9aa46",
"rgb": {
"r": 185,
"g": 170,
"b": 70
},
"hsl": {
"h": 52.174,
"s": 45.098,
"l": 50
},
"oklch": {
"l": 0.73143,
"c": 0.12132,
"h": 100.8
},
"luminance": 0.39506
}Semantic roles & 50–950 ramp
primary
#B9AA46
secondary
#949AC7
accent
#64D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C