#BA982B#BA982B
#BA982B is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.127 H 90.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA982B |
|---|---|
| RGB | rgb(186, 152, 43) |
| HSL | hsl(46, 62%, 45%) |
| HSV | hsv(46, 77%, 73%) |
| CMYK | cmyk(0%, 18.3%, 76.9%, 27.1%) |
| CIE-LAB | lab(64.22, 1.76, 58.24) |
| CIE-LCH | lch(64.22, 58.26, 88.27°) |
| OKLab | oklab(69.23% -0.0013 0.1274) |
| OKLCH | oklch(69.23% 0.127 90.6) |
| XYZ | xyz(31.9158, 33.0720, 6.9875) |
| Luminance | 0.3307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.21
Yellow Brown
#B79400
ΔE00 2.60
Ocher
#BF9B0C
ΔE00 2.61
Brown Yellow
#B29705
ΔE00 3.42
Ocre
#C69C04
ΔE00 3.61
Baby Shit Brown
#AD900D
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA982B #2B4DBA
analogous
#BA502B #BA982B #95BA2B
triadic
#BA982B #2BBA98 #982BBA
tetradic
#BA982B #2BBA50 #2B4DBA #BA2B95
square
#BA982B #2BBA50 #2B4DBA #BA2B95
split-complementary
#BA982B #2B95BA #502BBA
monochromatic
#574714 #886F20 #BA982B #D6B54C #E1CA7E
Accessibility & contrast
On white
2.76
#BA982B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#BA982B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA982B
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA982B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA982B | 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)
#AA9617
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#CA8B83
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba982b; /* rgb */ color: rgb(186, 152, 43); /* oklch */ color: oklch(69.2% 0.127 90.6);
Tailwind
colors: {
custom: {
50: '#d3b56d',
500: '#ba982b',
950: '#000000',
},
}SCSS
$custom: #ba982b; $custom-light: #d3b56d; $custom-dark: #000000;
JSON
{
"hex": "#ba982b",
"rgb": {
"r": 186,
"g": 152,
"b": 43
},
"hsl": {
"h": 45.734,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.69226,
"c": 0.12744,
"h": 90.6
},
"luminance": 0.3307
}Semantic roles & 50–950 ramp
primary
#BA982B
secondary
#778BCA
accent
#69E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A