#BA8E27#BA8E27
#BA8E27 is a light, vivid orange. Relative luminance 0.299; OKLCH L 67.2% C 0.125 H 83.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8E27 |
|---|---|
| RGB | rgb(186, 142, 39) |
| HSL | hsl(42, 65%, 44%) |
| HSV | hsv(42, 79%, 73%) |
| CMYK | cmyk(0%, 23.7%, 79%, 27.1%) |
| CIE-LAB | lab(61.60, 7.06, 57.25) |
| CIE-LCH | lch(61.60, 57.69, 82.97°) |
| OKLab | oklab(67.16% 0.0135 0.1245) |
| OKLCH | oklch(67.16% 0.125 83.8) |
| XYZ | xyz(30.2909, 29.9338, 6.1015) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 2.57
Darkgoldenrod
#B8860B
ΔE00 2.91
Yellowy Brown
#AE8B0C
ΔE00 3.90
Dark Gold
#B59410
ΔE00 4.69
Yellow Brown
#B79400
ΔE00 4.73
Dark Mustard
#A88905
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8E27 #2753BA
analogous
#BA4527 #BA8E27 #9DBA27
triadic
#BA8E27 #27BA8E #8E27BA
tetradic
#BA8E27 #27BA45 #2753BA #BA279D
square
#BA8E27 #27BA45 #2753BA #BA279D
split-complementary
#BA8E27 #279DBA #4527BA
monochromatic
#554112 #87671C #BA8E27 #D8AC46 #E3C379
Accessibility & contrast
On white
3.01
#BA8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#BA8E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8E27
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8E27 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E13
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#CA807A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba8e27; /* rgb */ color: rgb(186, 142, 39); /* oklch */ color: oklch(67.2% 0.125 83.8);
Tailwind
colors: {
custom: {
50: '#d3ae6a',
500: '#ba8e27',
950: '#000000',
},
}SCSS
$custom: #ba8e27; $custom-light: #d3ae6a; $custom-dark: #000000;
JSON
{
"hex": "#ba8e27",
"rgb": {
"r": 186,
"g": 142,
"b": 39
},
"hsl": {
"h": 42.041,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.67155,
"c": 0.12519,
"h": 83.8
},
"luminance": 0.29932
}Semantic roles & 50–950 ramp
primary
#BA8E27
secondary
#728DCB
accent
#72E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A