#BA9D30#BA9D30
#BA9D30 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.127 H 93.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9D30 |
|---|---|
| RGB | rgb(186, 157, 48) |
| HSL | hsl(47, 59%, 46%) |
| HSV | hsv(47, 74%, 73%) |
| CMYK | cmyk(0%, 15.6%, 74.2%, 27.1%) |
| CIE-LAB | lab(65.57, -0.73, 57.65) |
| CIE-LCH | lch(65.57, 57.66, 90.72°) |
| OKLab | oklab(70.3% -0.0079 0.1272) |
| OKLCH | oklch(70.3% 0.127 93.5) |
| XYZ | xyz(32.8420, 34.7683, 7.7769) |
| Luminance | 0.3477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.94
Brown Yellow
#B29705
ΔE00 3.19
Dark Gold
#B59410
ΔE00 3.24
Yellow Brown
#B79400
ΔE00 3.68
Ocre
#C69C04
ΔE00 4.26
Baby Shit Brown
#AD900D
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9D30 #304DBA
analogous
#BA5830 #BA9D30 #92BA30
triadic
#BA9D30 #30BA9D #9D30BA
tetradic
#BA9D30 #30BA58 #304DBA #BA3092
square
#BA9D30 #30BA58 #304DBA #BA3092
split-complementary
#BA9D30 #3092BA #5830BA
monochromatic
#594B17 #897423 #BA9D30 #D3B854 #DFCC85
Accessibility & contrast
On white
2.64
#BA9D30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.95
#BA9D30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9D30
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9D30 | 1.00 | 2.64 | 7.95 | 7.95 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#C99088
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ba9d30; /* rgb */ color: rgb(186, 157, 48); /* oklch */ color: oklch(70.3% 0.127 93.5);
Tailwind
colors: {
custom: {
50: '#d3b970',
500: '#ba9d30',
950: '#000000',
},
}SCSS
$custom: #ba9d30; $custom-light: #d3b970; $custom-dark: #000000;
JSON
{
"hex": "#ba9d30",
"rgb": {
"r": 186,
"g": 157,
"b": 48
},
"hsl": {
"h": 47.391,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.703,
"c": 0.12744,
"h": 93.5
},
"luminance": 0.34766
}Semantic roles & 50–950 ramp
primary
#BA9D30
secondary
#7D8DC9
accent
#67E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B