#BA9E30#BA9E30
#BA9E30 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.128 H 94.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E30 |
|---|---|
| RGB | rgb(186, 158, 48) |
| HSL | hsl(48, 59%, 46%) |
| HSV | hsv(48, 74%, 73%) |
| CMYK | cmyk(0%, 15.1%, 74.2%, 27.1%) |
| CIE-LAB | lab(65.83, -1.26, 57.91) |
| CIE-LCH | lch(65.83, 57.92, 91.25°) |
| OKLab | oklab(70.51% -0.0094 0.1277) |
| OKLCH | oklch(70.51% 0.128 94.2) |
| XYZ | xyz(33.0118, 35.1081, 7.8335) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.09
Brown Yellow
#B29705
ΔE00 3.22
Dark Gold
#B59410
ΔE00 3.50
Yellow Brown
#B79400
ΔE00 3.93
Ocre
#C69C04
ΔE00 4.44
Baby Shit Brown
#AD900D
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E30 #304CBA
analogous
#BA5930 #BA9E30 #91BA30
triadic
#BA9E30 #30BA9E #9E30BA
tetradic
#BA9E30 #30BA59 #304CBA #BA3091
square
#BA9E30 #30BA59 #304CBA #BA3091
split-complementary
#BA9E30 #3091BA #5930BA
monochromatic
#594B17 #897523 #BA9E30 #D3B954 #DFCD85
Accessibility & contrast
On white
2.62
#BA9E30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#BA9E30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E30
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E30 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e30; /* rgb */ color: rgb(186, 158, 48); /* oklch */ color: oklch(70.5% 0.128 94.2);
Tailwind
colors: {
custom: {
50: '#d3ba70',
500: '#ba9e30',
950: '#000000',
},
}SCSS
$custom: #ba9e30; $custom-light: #d3ba70; $custom-dark: #000000;
JSON
{
"hex": "#ba9e30",
"rgb": {
"r": 186,
"g": 158,
"b": 48
},
"hsl": {
"h": 47.826,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.70509,
"c": 0.12809,
"h": 94.2
},
"luminance": 0.35106
}Semantic roles & 50–950 ramp
primary
#BA9E30
secondary
#7D8CC9
accent
#65E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B