#BA9A30#BA9A30
#BA9A30 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.7% C 0.126 H 91.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A30 |
|---|---|
| RGB | rgb(186, 154, 48) |
| HSL | hsl(46, 59%, 46%) |
| HSV | hsv(46, 74%, 73%) |
| CMYK | cmyk(0%, 17.2%, 74.2%, 27.1%) |
| CIE-LAB | lab(64.78, 0.89, 56.89) |
| CIE-LCH | lch(64.78, 56.89, 89.10°) |
| OKLab | oklab(69.68% -0.0032 0.1256) |
| OKLCH | oklch(69.68% 0.126 91.5) |
| XYZ | xyz(32.3406, 33.7657, 7.6097) |
| Luminance | 0.3376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.71
Ocher
#BF9B0C
ΔE00 2.85
Yellow Brown
#B79400
ΔE00 3.16
Brown Yellow
#B29705
ΔE00 3.45
Ocre
#C69C04
ΔE00 3.96
Baby Shit Brown
#AD900D
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A30 #3050BA
analogous
#BA5530 #BA9A30 #95BA30
triadic
#BA9A30 #30BA9A #9A30BA
tetradic
#BA9A30 #30BA55 #3050BA #BA3095
square
#BA9A30 #30BA55 #3050BA #BA3095
split-complementary
#BA9A30 #3095BA #5530BA
monochromatic
#594917 #897223 #BA9A30 #D3B654 #DFCA85
Accessibility & contrast
On white
2.71
#BA9A30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#BA9A30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A30
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A30 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#C98D85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a30; /* rgb */ color: rgb(186, 154, 48); /* oklch */ color: oklch(69.7% 0.126 91.5);
Tailwind
colors: {
custom: {
50: '#d3b770',
500: '#ba9a30',
950: '#000000',
},
}SCSS
$custom: #ba9a30; $custom-light: #d3b770; $custom-dark: #000000;
JSON
{
"hex": "#ba9a30",
"rgb": {
"r": 186,
"g": 154,
"b": 48
},
"hsl": {
"h": 46.087,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.69675,
"c": 0.12561,
"h": 91.5
},
"luminance": 0.33764
}Semantic roles & 50–950 ramp
primary
#BA9A30
secondary
#7D8FC9
accent
#6AE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B