#BA7F2A#BA7F2A
#BA7F2A is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.121 H 71.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F2A |
|---|---|
| RGB | rgb(186, 127, 42) |
| HSL | hsl(35, 63%, 45%) |
| HSV | hsv(35, 77%, 73%) |
| CMYK | cmyk(0%, 31.7%, 77.4%, 27.1%) |
| CIE-LAB | lab(57.83, 15.46, 52.58) |
| CIE-LCH | lch(57.83, 54.80, 73.61°) |
| OKLab | oklab(64.22% 0.0382 0.1151) |
| OKLCH | oklch(64.22% 0.121 71.6) |
| XYZ | xyz(28.2591, 25.7875, 5.6792) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.06
Dirty Orange
#C87606
ΔE00 5.34
Leather
#AC7434
ΔE00 5.41
Caramel (survey)
#AF6F09
ΔE00 5.47
Darkgoldenrod
#B8860B
ΔE00 5.73
Bronze
#CD7F32
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F2A #2A65BA
analogous
#BA372A #BA7F2A #ADBA2A
triadic
#BA7F2A #2ABA7F #7F2ABA
tetradic
#BA7F2A #2ABA37 #2A65BA #BA2AAD
square
#BA7F2A #2ABA37 #2A65BA #BA2AAD
split-complementary
#BA7F2A #2AADBA #372ABA
monochromatic
#563B13 #885D1F #BA7F2A #D69D4B #E2B87D
Accessibility & contrast
On white
3.41
#BA7F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#BA7F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F2A
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F2A | 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)
#93831D
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f2a; /* rgb */ color: rgb(186, 127, 42); /* oklch */ color: oklch(64.2% 0.121 71.6);
Tailwind
colors: {
custom: {
50: '#d4a46a',
500: '#ba7f2a',
950: '#000000',
},
}SCSS
$custom: #ba7f2a; $custom-light: #d4a46a; $custom-dark: #000000;
JSON
{
"hex": "#ba7f2a",
"rgb": {
"r": 186,
"g": 127,
"b": 42
},
"hsl": {
"h": 35.417,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.64218,
"c": 0.12127,
"h": 71.6
},
"luminance": 0.25785
}Semantic roles & 50–950 ramp
primary
#BA7F2A
secondary
#7698CA
accent
#85E642
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A