#BA982A#BA982A
#BA982A is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.128 H 90.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA982A |
|---|---|
| RGB | rgb(186, 152, 42) |
| HSL | hsl(46, 63%, 45%) |
| HSV | hsv(46, 77%, 73%) |
| CMYK | cmyk(0%, 18.3%, 77.4%, 27.1%) |
| CIE-LAB | lab(64.21, 1.72, 58.59) |
| CIE-LCH | lch(64.21, 58.62, 88.32°) |
| OKLab | oklab(69.22% -0.0015 0.128) |
| OKLCH | oklch(69.22% 0.128 90.7) |
| XYZ | xyz(31.8977, 33.0648, 6.8921) |
| Luminance | 0.3306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.13
Yellow Brown
#B79400
ΔE00 2.51
Ocher
#BF9B0C
ΔE00 2.52
Brown Yellow
#B29705
ΔE00 3.34
Ocre
#C69C04
ΔE00 3.55
Baby Shit Brown
#AD900D
ΔE00 3.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA982A #2A4CBA
analogous
#BA502A #BA982A #94BA2A
triadic
#BA982A #2ABA98 #982ABA
tetradic
#BA982A #2ABA50 #2A4CBA #BA2A94
square
#BA982A #2ABA50 #2A4CBA #BA2A94
split-complementary
#BA982A #2A94BA #502ABA
monochromatic
#564613 #886F1F #BA982A #D6B54B #E2CA7D
Accessibility & contrast
On white
2.76
#BA982A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#BA982A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA982A
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA982A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA982A | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#CA8B83
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba982a; /* rgb */ color: rgb(186, 152, 42); /* oklch */ color: oklch(69.2% 0.128 90.7);
Tailwind
colors: {
custom: {
50: '#d3b56c',
500: '#ba982a',
950: '#000000',
},
}SCSS
$custom: #ba982a; $custom-light: #d3b56c; $custom-dark: #000000;
JSON
{
"hex": "#ba982a",
"rgb": {
"r": 186,
"g": 152,
"b": 42
},
"hsl": {
"h": 45.833,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.69219,
"c": 0.12799,
"h": 90.7
},
"luminance": 0.33063
}Semantic roles & 50–950 ramp
primary
#BA982A
secondary
#768ACA
accent
#68E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A