#BA9A25#BA9A25
#BA9A25 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.132 H 92.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A25 |
|---|---|
| RGB | rgb(186, 154, 37) |
| HSL | hsl(47, 67%, 44%) |
| HSV | hsv(47, 80%, 73%) |
| CMYK | cmyk(0%, 17.2%, 80.1%, 27.1%) |
| CIE-LAB | lab(64.71, 0.45, 60.76) |
| CIE-LCH | lch(64.71, 60.76, 89.58°) |
| OKLab | oklab(69.6% -0.0057 0.1316) |
| OKLCH | oklch(69.6% 0.132 92.5) |
| XYZ | xyz(32.1411, 33.6859, 6.5590) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 1.93
Dark Gold
#B59410
ΔE00 2.05
Yellow Brown
#B79400
ΔE00 2.39
Brown Yellow
#B29705
ΔE00 2.58
Ocre
#C69C04
ΔE00 3.36
Baby Shit Brown
#AD900D
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A25 #2545BA
analogous
#BA4F25 #BA9A25 #8FBA25
triadic
#BA9A25 #25BA9A #9A25BA
tetradic
#BA9A25 #25BA4F #2545BA #BA258F
square
#BA9A25 #25BA4F #2545BA #BA258F
split-complementary
#BA9A25 #258FBA #4F25BA
monochromatic
#544511 #87701B #BA9A25 #DAB943 #E4CC76
Accessibility & contrast
On white
2.71
#BA9A25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#BA9A25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A25
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A25 | 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)
#AC9807
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a25; /* rgb */ color: rgb(186, 154, 37); /* oklch */ color: oklch(69.6% 0.132 92.5);
Tailwind
colors: {
custom: {
50: '#d3b76a',
500: '#ba9a25',
950: '#000000',
},
}SCSS
$custom: #ba9a25; $custom-light: #d3b76a; $custom-dark: #000000;
JSON
{
"hex": "#ba9a25",
"rgb": {
"r": 186,
"g": 154,
"b": 37
},
"hsl": {
"h": 47.114,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.69604,
"c": 0.13169,
"h": 92.5
},
"luminance": 0.33684
}Semantic roles & 50–950 ramp
primary
#BA9A25
secondary
#7083CB
accent
#63EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A