#BA992A#BA992A
#BA992A is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.129 H 91.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #BA992A |
|---|---|
| RGB | rgb(186, 153, 42) |
| HSL | hsl(46, 63%, 45%) |
| HSV | hsv(46, 77%, 73%) |
| CMYK | cmyk(0%, 17.7%, 77.4%, 27.1%) |
| CIE-LAB | lab(64.48, 1.18, 58.84) |
| CIE-LCH | lch(64.48, 58.85, 88.86°) |
| OKLab | oklab(69.43% -0.0031 0.1285) |
| OKLCH | oklch(69.43% 0.129 91.4) |
| XYZ | xyz(32.0607, 33.3907, 6.9464) |
| Luminance | 0.3339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.17
Ocher
#BF9B0C
ΔE00 2.38
Yellow Brown
#B79400
ΔE00 2.57
Brown Yellow
#B29705
ΔE00 3.11
Ocre
#C69C04
ΔE00 3.54
Baby Shit Brown
#AD900D
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA992A #2A4BBA
analogous
#BA512A #BA992A #93BA2A
triadic
#BA992A #2ABA99 #992ABA
tetradic
#BA992A #2ABA51 #2A4BBA #BA2A93
square
#BA992A #2ABA51 #2A4BBA #BA2A93
split-complementary
#BA992A #2A93BA #512ABA
monochromatic
#564713 #88701F #BA992A #D6B64B #E2CB7D
Accessibility & contrast
On white
2.74
#BA992A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#BA992A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA992A
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA992A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA992A | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9714
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#CA8C84
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba992a; /* rgb */ color: rgb(186, 153, 42); /* oklch */ color: oklch(69.4% 0.129 91.4);
Tailwind
colors: {
custom: {
50: '#d3b66c',
500: '#ba992a',
950: '#000000',
},
}SCSS
$custom: #ba992a; $custom-light: #d3b66c; $custom-dark: #000000;
JSON
{
"hex": "#ba992a",
"rgb": {
"r": 186,
"g": 153,
"b": 42
},
"hsl": {
"h": 46.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.69426,
"c": 0.12854,
"h": 91.4
},
"luminance": 0.33389
}Semantic roles & 50–950 ramp
primary
#BA992A
secondary
#7689CA
accent
#67E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A