#BA9B29#BA9B29
#BA9B29 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.130 H 92.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9B29 |
|---|---|
| RGB | rgb(186, 155, 41) |
| HSL | hsl(47, 64%, 45%) |
| HSV | hsv(47, 78%, 73%) |
| CMYK | cmyk(0%, 16.7%, 78%, 27.1%) |
| CIE-LAB | lab(65.00, 0.06, 59.67) |
| CIE-LCH | lch(65.00, 59.67, 89.95°) |
| OKLab | oklab(69.84% -0.0064 0.1301) |
| OKLCH | oklch(69.84% 0.13 92.8) |
| XYZ | xyz(32.3731, 34.0438, 6.9634) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.24
Dark Gold
#B59410
ΔE00 2.43
Brown Yellow
#B29705
ΔE00 2.73
Yellow Brown
#B79400
ΔE00 2.82
Ocre
#C69C04
ΔE00 3.64
Baby Shit Brown
#AD900D
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9B29 #2948BA
analogous
#BA5229 #BA9B29 #91BA29
triadic
#BA9B29 #29BA9B #9B29BA
tetradic
#BA9B29 #29BA52 #2948BA #BA2991
square
#BA9B29 #29BA52 #2948BA #BA2991
split-complementary
#BA9B29 #2991BA #5229BA
monochromatic
#564713 #88711E #BA9B29 #D7B949 #E2CC7B
Accessibility & contrast
On white
2.69
#BA9B29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#BA9B29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9B29
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9B29 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9811
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#CA8E85
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ba9b29; /* rgb */ color: rgb(186, 155, 41); /* oklch */ color: oklch(69.8% 0.130 92.8);
Tailwind
colors: {
custom: {
50: '#d3b86c',
500: '#ba9b29',
950: '#000000',
},
}SCSS
$custom: #ba9b29; $custom-light: #d3b86c; $custom-dark: #000000;
JSON
{
"hex": "#ba9b29",
"rgb": {
"r": 186,
"g": 155,
"b": 41
},
"hsl": {
"h": 47.172,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.69836,
"c": 0.13024,
"h": 92.8
},
"luminance": 0.34042
}Semantic roles & 50–950 ramp
primary
#BA9B29
secondary
#7587CA
accent
#64E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A