#BA9A2B#BA9A2B
#BA9A2B is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.129 H 92.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A2B |
|---|---|
| RGB | rgb(186, 154, 43) |
| HSL | hsl(47, 62%, 45%) |
| HSV | hsv(47, 77%, 73%) |
| CMYK | cmyk(0%, 17.2%, 76.9%, 27.1%) |
| CIE-LAB | lab(64.75, 0.68, 58.73) |
| CIE-LCH | lch(64.75, 58.73, 89.34°) |
| OKLab | oklab(69.64% -0.0044 0.1285) |
| OKLCH | oklch(69.64% 0.129 92) |
| XYZ | xyz(32.2432, 33.7267, 7.0967) |
| Luminance | 0.3372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.35
Ocher
#BF9B0C
ΔE00 2.39
Yellow Brown
#B79400
ΔE00 2.76
Brown Yellow
#B29705
ΔE00 3.01
Ocre
#C69C04
ΔE00 3.64
Baby Shit Brown
#AD900D
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A2B #2B4BBA
analogous
#BA522B #BA9A2B #93BA2B
triadic
#BA9A2B #2BBA9A #9A2BBA
tetradic
#BA9A2B #2BBA52 #2B4BBA #BA2B93
square
#BA9A2B #2BBA52 #2B4BBA #BA2B93
split-complementary
#BA9A2B #2B93BA #522BBA
monochromatic
#574814 #887120 #BA9A2B #D6B74C #E1CB7E
Accessibility & contrast
On white
2.71
#BA9A2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#BA9A2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A2B
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A2B | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9816
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#CA8D85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a2b; /* rgb */ color: rgb(186, 154, 43); /* oklch */ color: oklch(69.6% 0.129 92.0);
Tailwind
colors: {
custom: {
50: '#d3b76d',
500: '#ba9a2b',
950: '#000000',
},
}SCSS
$custom: #ba9a2b; $custom-light: #d3b76d; $custom-dark: #000000;
JSON
{
"hex": "#ba9a2b",
"rgb": {
"r": 186,
"g": 154,
"b": 43
},
"hsl": {
"h": 46.573,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.6964,
"c": 0.12856,
"h": 92
},
"luminance": 0.33725
}Semantic roles & 50–950 ramp
primary
#BA9A2B
secondary
#778ACA
accent
#67E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A