#BA9731#BA9731
#BA9731 is a light, vivid orange. Relative luminance 0.328; OKLCH L 69.1% C 0.123 H 89.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9731 |
|---|---|
| RGB | rgb(186, 151, 49) |
| HSL | hsl(45, 58%, 46%) |
| HSV | hsv(45, 74%, 73%) |
| CMYK | cmyk(0%, 18.8%, 73.7%, 27.1%) |
| CIE-LAB | lab(64.00, 2.56, 55.73) |
| CIE-LCH | lch(64.00, 55.79, 87.37°) |
| OKLab | oklab(69.06% 0.0017 0.1233) |
| OKLCH | oklch(69.06% 0.123 89.2) |
| XYZ | xyz(31.8725, 32.7961, 7.5567) |
| Luminance | 0.3279 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Gold
#B59410
ΔE00 2.86
Yellow Brown
#B79400
ΔE00 3.26
Ocher
#BF9B0C
ΔE00 3.43
Baby Shit Brown
#AD900D
ΔE00 4.05
Ochre
#BF9005
ΔE00 4.10
Ocre
#C69C04
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9731 #3154BA
analogous
#BA5331 #BA9731 #98BA31
triadic
#BA9731 #31BA97 #9731BA
tetradic
#BA9731 #31BA53 #3154BA #BA3198
square
#BA9731 #31BA53 #3154BA #BA3198
split-complementary
#BA9731 #3198BA #5331BA
monochromatic
#594817 #8A7024 #BA9731 #D2B356 #DFC886
Accessibility & contrast
On white
2.78
#BA9731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#BA9731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9731
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9731 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99521
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C98A83
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ba9731; /* rgb */ color: rgb(186, 151, 49); /* oklch */ color: oklch(69.1% 0.123 89.2);
Tailwind
colors: {
custom: {
50: '#d3b570',
500: '#ba9731',
950: '#000000',
},
}SCSS
$custom: #ba9731; $custom-light: #d3b570; $custom-dark: #000000;
JSON
{
"hex": "#ba9731",
"rgb": {
"r": 186,
"g": 151,
"b": 49
},
"hsl": {
"h": 44.672,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.69061,
"c": 0.12333,
"h": 89.2
},
"luminance": 0.32794
}Semantic roles & 50–950 ramp
primary
#BA9731
secondary
#7E91C9
accent
#6EE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B