#BA982E#BA982E
#BA982E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.126 H 90.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA982E |
|---|---|
| RGB | rgb(186, 152, 46) |
| HSL | hsl(45, 60%, 45%) |
| HSV | hsv(45, 75%, 73%) |
| CMYK | cmyk(0%, 18.3%, 75.3%, 27.1%) |
| CIE-LAB | lab(64.24, 1.89, 57.14) |
| CIE-LCH | lch(64.24, 57.17, 88.11°) |
| OKLab | oklab(69.25% -0.0006 0.1257) |
| OKLCH | oklch(69.25% 0.126 90.3) |
| XYZ | xyz(31.9729, 33.0948, 7.2881) |
| Luminance | 0.3309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.48
Yellow Brown
#B79400
ΔE00 2.88
Ocher
#BF9B0C
ΔE00 2.90
Brown Yellow
#B29705
ΔE00 3.68
Baby Shit Brown
#AD900D
ΔE00 3.80
Ocre
#C69C04
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA982E #2E50BA
analogous
#BA522E #BA982E #96BA2E
triadic
#BA982E #2EBA98 #982EBA
tetradic
#BA982E #2EBA52 #2E50BA #BA2E96
square
#BA982E #2EBA52 #2E50BA #BA2E96
split-complementary
#BA982E #2E96BA #522EBA
monochromatic
#584816 #897022 #BA982E #D4B451 #E0C982
Accessibility & contrast
On white
2.76
#BA982E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#BA982E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA982E
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA982E | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#CA8B83
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba982e; /* rgb */ color: rgb(186, 152, 46); /* oklch */ color: oklch(69.2% 0.126 90.3);
Tailwind
colors: {
custom: {
50: '#d3b66e',
500: '#ba982e',
950: '#000000',
},
}SCSS
$custom: #ba982e; $custom-light: #d3b66e; $custom-dark: #000000;
JSON
{
"hex": "#ba982e",
"rgb": {
"r": 186,
"g": 152,
"b": 46
},
"hsl": {
"h": 45.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.69246,
"c": 0.1257,
"h": 90.3
},
"luminance": 0.33093
}Semantic roles & 50–950 ramp
primary
#BA982E
secondary
#7B8EC9
accent
#6BE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B