#BA7E2F#BA7E2F
#BA7E2F is a light, moderate orange. Relative luminance 0.256; OKLCH L 64.1% C 0.119 H 69.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7E2F |
|---|---|
| RGB | rgb(186, 126, 47) |
| HSL | hsl(34, 60%, 46%) |
| HSV | hsv(34, 75%, 73%) |
| CMYK | cmyk(0%, 32.3%, 74.7%, 27.1%) |
| CIE-LAB | lab(57.63, 16.23, 50.26) |
| CIE-LCH | lch(57.63, 52.81, 72.10°) |
| OKLab | oklab(64.07% 0.0411 0.1113) |
| OKLCH | oklch(64.07% 0.119 69.7) |
| XYZ | xyz(28.2257, 25.5686, 6.1375) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 4.63
Golden Brown
#B27A01
ΔE00 4.97
Dirty Orange
#C87606
ΔE00 5.03
Bronze
#CD7F32
ΔE00 5.14
Peru
#CD853F
ΔE00 5.32
Caramel (survey)
#AF6F09
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7E2F #2F6BBA
analogous
#BA382F #BA7E2F #B0BA2F
triadic
#BA7E2F #2FBA7E #7E2FBA
tetradic
#BA7E2F #2FBA38 #2F6BBA #BA2FB0
square
#BA7E2F #2FBA38 #2F6BBA #BA2FB0
split-complementary
#BA7E2F #2FB0BA #382FBA
monochromatic
#583C16 #895D23 #BA7E2F #D39C53 #E0B884
Accessibility & contrast
On white
3.44
#BA7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#BA7E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7E2F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7E2F | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#CB6F6E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba7e2f; /* rgb */ color: rgb(186, 126, 47); /* oklch */ color: oklch(64.1% 0.119 69.7);
Tailwind
colors: {
custom: {
50: '#d4a36c',
500: '#ba7e2f',
950: '#000000',
},
}SCSS
$custom: #ba7e2f; $custom-light: #d4a36c; $custom-dark: #000000;
JSON
{
"hex": "#ba7e2f",
"rgb": {
"r": 186,
"g": 126,
"b": 47
},
"hsl": {
"h": 34.101,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.64066,
"c": 0.11861,
"h": 69.7
},
"luminance": 0.25566
}Semantic roles & 50–950 ramp
primary
#BA7E2F
secondary
#7C9DC9
accent
#89E345
background
#FDFAF6
surface
#FBF3EC
border
#D4CDC7
text
#150F07
muted
#837F7A