#BA9A29#BA9A29
#BA9A29 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.130 H 92.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A29 |
|---|---|
| RGB | rgb(186, 154, 41) |
| HSL | hsl(47, 64%, 45%) |
| HSV | hsv(47, 78%, 73%) |
| CMYK | cmyk(0%, 17.2%, 78%, 27.1%) |
| CIE-LAB | lab(64.73, 0.60, 59.43) |
| CIE-LCH | lch(64.73, 59.43, 89.43°) |
| OKLab | oklab(69.63% -0.0048 0.1296) |
| OKLCH | oklch(69.63% 0.13 92.1) |
| XYZ | xyz(32.2074, 33.7124, 6.9081) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.22
Dark Gold
#B59410
ΔE00 2.23
Yellow Brown
#B79400
ΔE00 2.63
Brown Yellow
#B29705
ΔE00 2.85
Ocre
#C69C04
ΔE00 3.54
Baby Shit Brown
#AD900D
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A29 #2949BA
analogous
#BA5229 #BA9A29 #91BA29
triadic
#BA9A29 #29BA9A #9A29BA
tetradic
#BA9A29 #29BA52 #2949BA #BA2991
square
#BA9A29 #29BA52 #2949BA #BA2991
split-complementary
#BA9A29 #2991BA #5229BA
monochromatic
#564713 #88701E #BA9A29 #D7B849 #E2CB7B
Accessibility & contrast
On white
2.71
#BA9A29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#BA9A29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A29
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A29 | 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)
#AC9812
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a29; /* rgb */ color: rgb(186, 154, 41); /* oklch */ color: oklch(69.6% 0.130 92.1);
Tailwind
colors: {
custom: {
50: '#d3b76c',
500: '#ba9a29',
950: '#000000',
},
}SCSS
$custom: #ba9a29; $custom-light: #d3b76c; $custom-dark: #000000;
JSON
{
"hex": "#ba9a29",
"rgb": {
"r": 186,
"g": 154,
"b": 41
},
"hsl": {
"h": 46.759,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.69628,
"c": 0.12965,
"h": 92.1
},
"luminance": 0.3371
}Semantic roles & 50–950 ramp
primary
#BA9A29
secondary
#7588CA
accent
#66E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A