#BA7F2B#BA7F2B
#BA7F2B is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.121 H 71.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F2B |
|---|---|
| RGB | rgb(186, 127, 43) |
| HSL | hsl(35, 62%, 45%) |
| HSV | hsv(35, 77%, 73%) |
| CMYK | cmyk(0%, 31.7%, 76.9%, 27.1%) |
| CIE-LAB | lab(57.84, 15.50, 52.17) |
| CIE-LCH | lch(57.84, 54.43, 73.45°) |
| OKLab | oklab(64.23% 0.0384 0.1145) |
| OKLCH | oklch(64.23% 0.121 71.4) |
| XYZ | xyz(28.2772, 25.7948, 5.7747) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.19
Leather
#AC7434
ΔE00 5.32
Dirty Orange
#C87606
ΔE00 5.32
Caramel (survey)
#AF6F09
ΔE00 5.49
Bronze
#CD7F32
ΔE00 5.78
Caramel
#C68E4E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F2B #2B66BA
analogous
#BA382B #BA7F2B #ADBA2B
triadic
#BA7F2B #2BBA7F #7F2BBA
tetradic
#BA7F2B #2BBA38 #2B66BA #BA2BAD
square
#BA7F2B #2BBA38 #2B66BA #BA2BAD
split-complementary
#BA7F2B #2BADBA #382BBA
monochromatic
#573B14 #885D20 #BA7F2B #D69D4C #E1B87E
Accessibility & contrast
On white
3.41
#BA7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#BA7F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F2B
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F2B | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93831E
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f2b; /* rgb */ color: rgb(186, 127, 43); /* oklch */ color: oklch(64.2% 0.121 71.4);
Tailwind
colors: {
custom: {
50: '#d4a46a',
500: '#ba7f2b',
950: '#000000',
},
}SCSS
$custom: #ba7f2b; $custom-light: #d4a46a; $custom-dark: #000000;
JSON
{
"hex": "#ba7f2b",
"rgb": {
"r": 186,
"g": 127,
"b": 43
},
"hsl": {
"h": 35.245,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.64226,
"c": 0.12074,
"h": 71.4
},
"luminance": 0.25792
}Semantic roles & 50–950 ramp
primary
#BA7F2B
secondary
#7799CA
accent
#86E642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A