#BA9E29#BA9E29
#BA9E29 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.132 H 94.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E29 |
|---|---|
| RGB | rgb(186, 158, 41) |
| HSL | hsl(48, 64%, 45%) |
| HSV | hsv(48, 78%, 73%) |
| CMYK | cmyk(0%, 15.1%, 78%, 27.1%) |
| CIE-LAB | lab(65.79, -1.56, 60.40) |
| CIE-LCH | lch(65.79, 60.42, 91.48°) |
| OKLab | oklab(70.46% -0.011 0.1316) |
| OKLCH | oklch(70.46% 0.132 94.8) |
| XYZ | xyz(32.8786, 35.0548, 7.1319) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.70
Brown Yellow
#B29705
ΔE00 2.76
Dark Gold
#B59410
ΔE00 3.28
Yellow Brown
#B79400
ΔE00 3.64
Ocre
#C69C04
ΔE00 4.18
Baby Shit Brown
#AD900D
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E29 #2945BA
analogous
#BA5629 #BA9E29 #8EBA29
triadic
#BA9E29 #29BA9E #9E29BA
tetradic
#BA9E29 #29BA56 #2945BA #BA298E
square
#BA9E29 #29BA56 #2945BA #BA298E
split-complementary
#BA9E29 #298EBA #5629BA
monochromatic
#564913 #88731E #BA9E29 #D7BC49 #E2CE7B
Accessibility & contrast
On white
2.62
#BA9E29 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#BA9E29 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E29
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E29 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e29; /* rgb */ color: rgb(186, 158, 41); /* oklch */ color: oklch(70.5% 0.132 94.8);
Tailwind
colors: {
custom: {
50: '#d3ba6c',
500: '#ba9e29',
950: '#000000',
},
}SCSS
$custom: #ba9e29; $custom-light: #d3ba6c; $custom-dark: #000000;
JSON
{
"hex": "#ba9e29",
"rgb": {
"r": 186,
"g": 158,
"b": 41
},
"hsl": {
"h": 48.414,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.70463,
"c": 0.1321,
"h": 94.8
},
"luminance": 0.35053
}Semantic roles & 50–950 ramp
primary
#BA9E29
secondary
#7585CA
accent
#61E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A