#BA9F3A#BA9F3A
#BA9F3A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.122 H 93.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9F3A |
|---|---|
| RGB | rgb(186, 159, 58) |
| HSL | hsl(47, 52%, 48%) |
| HSV | hsv(47, 69%, 73%) |
| CMYK | cmyk(0%, 14.5%, 68.8%, 27.1%) |
| CIE-LAB | lab(66.17, -1.29, 54.22) |
| CIE-LCH | lch(66.17, 54.24, 91.37°) |
| OKLab | oklab(70.8% -0.0083 0.1218) |
| OKLCH | oklch(70.8% 0.122 93.9) |
| XYZ | xyz(33.4132, 35.5427, 9.1026) |
| Luminance | 0.3554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.03
Brown Yellow
#B29705
ΔE00 4.15
Dark Gold
#B59410
ΔE00 4.31
Yellow Brown
#B79400
ΔE00 4.80
Ocre
#C69C04
ΔE00 5.20
Baby Shit Brown
#AD900D
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9F3A #3A55BA
analogous
#BA5F3A #BA9F3A #95BA3A
triadic
#BA9F3A #3ABA9F #9F3ABA
tetradic
#BA9F3A #3ABA5F #3A55BA #BA3A95
square
#BA9F3A #3ABA5F #3A55BA #BA3A95
split-complementary
#BA9F3A #3A95BA #5F3ABA
monochromatic
#5D4F1D #8B772B #BA9F3A #CEB863 #DDCD92
Accessibility & contrast
On white
2.59
#BA9F3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#BA9F3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9F3A
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9F3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9F3A | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C2D
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C9938A
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ba9f3a; /* rgb */ color: rgb(186, 159, 58); /* oklch */ color: oklch(70.8% 0.122 93.9);
Tailwind
colors: {
custom: {
50: '#d2bb76',
500: '#ba9f3a',
950: '#000000',
},
}SCSS
$custom: #ba9f3a; $custom-light: #d2bb76; $custom-dark: #000000;
JSON
{
"hex": "#ba9f3a",
"rgb": {
"r": 186,
"g": 159,
"b": 58
},
"hsl": {
"h": 47.344,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.70798,
"c": 0.12207,
"h": 93.9
},
"luminance": 0.35541
}Semantic roles & 50–950 ramp
primary
#BA9F3A
secondary
#8895C8
accent
#6ADC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B