#BA9A2A#BA9A2A
#BA9A2A is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.129 H 92.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A2A |
|---|---|
| RGB | rgb(186, 154, 42) |
| HSL | hsl(47, 63%, 45%) |
| HSV | hsv(47, 77%, 73%) |
| CMYK | cmyk(0%, 17.2%, 77.4%, 27.1%) |
| CIE-LAB | lab(64.74, 0.64, 59.08) |
| CIE-LCH | lch(64.74, 59.08, 89.38°) |
| OKLab | oklab(69.63% -0.0046 0.129) |
| OKLCH | oklch(69.63% 0.129 92.1) |
| XYZ | xyz(32.2251, 33.7194, 7.0012) |
| Luminance | 0.3372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.29
Ocher
#BF9B0C
ΔE00 2.31
Yellow Brown
#B79400
ΔE00 2.69
Brown Yellow
#B29705
ΔE00 2.93
Ocre
#C69C04
ΔE00 3.59
Baby Shit Brown
#AD900D
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A2A #2A4ABA
analogous
#BA522A #BA9A2A #92BA2A
triadic
#BA9A2A #2ABA9A #9A2ABA
tetradic
#BA9A2A #2ABA52 #2A4ABA #BA2A92
square
#BA9A2A #2ABA52 #2A4ABA #BA2A92
split-complementary
#BA9A2A #2A92BA #522ABA
monochromatic
#564713 #88711F #BA9A2A #D6B74B #E2CB7D
Accessibility & contrast
On white
2.71
#BA9A2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#BA9A2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A2A
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A2A | 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)
#AC9814
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#CA8D85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a2a; /* rgb */ color: rgb(186, 154, 42); /* oklch */ color: oklch(69.6% 0.129 92.1);
Tailwind
colors: {
custom: {
50: '#d3b76d',
500: '#ba9a2a',
950: '#000000',
},
}SCSS
$custom: #ba9a2a; $custom-light: #d3b76d; $custom-dark: #000000;
JSON
{
"hex": "#ba9a2a",
"rgb": {
"r": 186,
"g": 154,
"b": 42
},
"hsl": {
"h": 46.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.69634,
"c": 0.1291,
"h": 92.1
},
"luminance": 0.33717
}Semantic roles & 50–950 ramp
primary
#BA9A2A
secondary
#7689CA
accent
#66E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A