#BA9E39#BA9E39
#BA9E39 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.122 H 93.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E39 |
|---|---|
| RGB | rgb(186, 158, 57) |
| HSL | hsl(47, 53%, 48%) |
| HSV | hsv(47, 69%, 73%) |
| CMYK | cmyk(0%, 15.1%, 69.4%, 27.1%) |
| CIE-LAB | lab(65.90, -0.81, 54.36) |
| CIE-LCH | lch(65.90, 54.37, 90.86°) |
| OKLab | oklab(70.58% -0.0071 0.1219) |
| OKLCH | oklch(70.58% 0.122 93.3) |
| XYZ | xyz(33.2168, 35.1901, 8.9129) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.83
Dark Gold
#B59410
ΔE00 4.02
Brown Yellow
#B29705
ΔE00 4.04
Yellow Brown
#B79400
ΔE00 4.52
Ocre
#C69C04
ΔE00 4.98
Baby Shit Brown
#AD900D
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E39 #3955BA
analogous
#BA5E39 #BA9E39 #95BA39
triadic
#BA9E39 #39BA9E #9E39BA
tetradic
#BA9E39 #39BA5E #3955BA #BA3995
square
#BA9E39 #39BA5E #3955BA #BA3995
split-complementary
#BA9E39 #3995BA #5E39BA
monochromatic
#5C4E1C #8B762B #BA9E39 #CFB761 #DDCC90
Accessibility & contrast
On white
2.61
#BA9E39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#BA9E39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E39
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E39 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B2C
Deuteranopia (green-blind)
#B6A43E
Tritanopia (blue-blind)
#C99289
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e39; /* rgb */ color: rgb(186, 158, 57); /* oklch */ color: oklch(70.6% 0.122 93.3);
Tailwind
colors: {
custom: {
50: '#d2ba75',
500: '#ba9e39',
950: '#000000',
},
}SCSS
$custom: #ba9e39; $custom-light: #d2ba75; $custom-dark: #000000;
JSON
{
"hex": "#ba9e39",
"rgb": {
"r": 186,
"g": 158,
"b": 57
},
"hsl": {
"h": 46.977,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.7058,
"c": 0.12212,
"h": 93.3
},
"luminance": 0.35188
}Semantic roles & 50–950 ramp
primary
#BA9E39
secondary
#8795C8
accent
#6BDC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B