#BA972E#BA972E
#BA972E is a light, vivid yellow. Relative luminance 0.328; OKLCH L 69.0% C 0.125 H 89.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BA972E |
|---|---|
| RGB | rgb(186, 151, 46) |
| HSL | hsl(45, 60%, 45%) |
| HSV | hsv(45, 75%, 73%) |
| CMYK | cmyk(0%, 18.8%, 75.3%, 27.1%) |
| CIE-LAB | lab(63.98, 2.43, 56.88) |
| CIE-LCH | lch(63.98, 56.94, 87.56°) |
| OKLab | oklab(69.04% 0.0009 0.1252) |
| OKLCH | oklch(69.04% 0.125 89.6) |
| XYZ | xyz(31.8113, 32.7716, 7.2343) |
| Luminance | 0.3277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.55
Yellow Brown
#B79400
ΔE00 2.93
Ocher
#BF9B0C
ΔE00 3.12
Baby Shit Brown
#AD900D
ΔE00 3.84
Ocre
#C69C04
ΔE00 3.90
Brown Yellow
#B29705
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA972E #2E51BA
analogous
#BA512E #BA972E #97BA2E
triadic
#BA972E #2EBA97 #972EBA
tetradic
#BA972E #2EBA51 #2E51BA #BA2E97
square
#BA972E #2EBA51 #2E51BA #BA2E97
split-complementary
#BA972E #2E97BA #512EBA
monochromatic
#584716 #896F22 #BA972E #D4B351 #E0C982
Accessibility & contrast
On white
2.78
#BA972E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#BA972E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA972E
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA972E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA972E | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9951C
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#CA8A82
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ba972e; /* rgb */ color: rgb(186, 151, 46); /* oklch */ color: oklch(69.0% 0.125 89.6);
Tailwind
colors: {
custom: {
50: '#d3b56e',
500: '#ba972e',
950: '#000000',
},
}SCSS
$custom: #ba972e; $custom-light: #d3b56e; $custom-dark: #000000;
JSON
{
"hex": "#ba972e",
"rgb": {
"r": 186,
"g": 151,
"b": 46
},
"hsl": {
"h": 45,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.69039,
"c": 0.12516,
"h": 89.6
},
"luminance": 0.3277
}Semantic roles & 50–950 ramp
primary
#BA972E
secondary
#7B8EC9
accent
#6CE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B