#BA7D2B#BA7D2B
#BA7D2B is a light, vivid orange. Relative luminance 0.253; OKLCH L 63.8% C 0.121 H 69.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7D2B |
|---|---|
| RGB | rgb(186, 125, 43) |
| HSL | hsl(34, 62%, 45%) |
| HSV | hsv(34, 77%, 73%) |
| CMYK | cmyk(0%, 32.8%, 76.9%, 27.1%) |
| CIE-LAB | lab(57.35, 16.61, 51.70) |
| CIE-LCH | lch(57.35, 54.30, 72.19°) |
| OKLab | oklab(63.84% 0.0417 0.1134) |
| OKLCH | oklch(63.84% 0.121 69.8) |
| XYZ | xyz(28.0215, 25.2833, 5.6894) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.62
Leather
#AC7434
ΔE00 4.67
Dirty Orange
#C87606
ΔE00 4.73
Caramel (survey)
#AF6F09
ΔE00 5.01
Bronze
#CD7F32
ΔE00 5.24
Copper
#B87333
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7D2B #2B68BA
analogous
#BA362B #BA7D2B #AFBA2B
triadic
#BA7D2B #2BBA7D #7D2BBA
tetradic
#BA7D2B #2BBA36 #2B68BA #BA2BAF
square
#BA7D2B #2BBA36 #2B68BA #BA2BAF
split-complementary
#BA7D2B #2BAFBA #362BBA
monochromatic
#573A14 #885C20 #BA7D2B #D69B4C #E1B77E
Accessibility & contrast
On white
3.47
#BA7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#BA7D2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7D2B
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7D2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7D2B | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#CB6E6D
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba7d2b; /* rgb */ color: rgb(186, 125, 43); /* oklch */ color: oklch(63.8% 0.121 69.8);
Tailwind
colors: {
custom: {
50: '#d4a26a',
500: '#ba7d2b',
950: '#000000',
},
}SCSS
$custom: #ba7d2b; $custom-light: #d4a26a; $custom-dark: #000000;
JSON
{
"hex": "#ba7d2b",
"rgb": {
"r": 186,
"g": 125,
"b": 43
},
"hsl": {
"h": 34.406,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.63843,
"c": 0.12085,
"h": 69.8
},
"luminance": 0.25281
}Semantic roles & 50–950 ramp
primary
#BA7D2B
secondary
#779ACA
accent
#88E642
background
#FDF9F6
surface
#FBF2EB
border
#D4CCC6
text
#150F07
muted
#837E7A