#BA7E28#BA7E28
#BA7E28 is a light, vivid orange. Relative luminance 0.255; OKLCH L 64.0% C 0.122 H 71.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7E28 |
|---|---|
| RGB | rgb(186, 126, 40) |
| HSL | hsl(35, 65%, 44%) |
| HSV | hsv(35, 78%, 73%) |
| CMYK | cmyk(0%, 32.3%, 78.5%, 27.1%) |
| CIE-LAB | lab(57.58, 15.94, 53.14) |
| CIE-LCH | lch(57.58, 55.47, 73.30°) |
| OKLab | oklab(64.01% 0.0393 0.1158) |
| OKLCH | oklch(64.01% 0.122 71.2) |
| XYZ | xyz(28.0957, 25.5165, 5.4526) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.99
Dirty Orange
#C87606
ΔE00 5.05
Caramel (survey)
#AF6F09
ΔE00 5.16
Leather
#AC7434
ΔE00 5.26
Bronze
#CD7F32
ΔE00 5.78
Darkgoldenrod
#B8860B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7E28 #2864BA
analogous
#BA3528 #BA7E28 #ADBA28
triadic
#BA7E28 #28BA7E #7E28BA
tetradic
#BA7E28 #28BA35 #2864BA #BA28AD
square
#BA7E28 #28BA35 #2864BA #BA28AD
split-complementary
#BA7E28 #28ADBA #3528BA
monochromatic
#553A12 #885C1D #BA7E28 #D89C48 #E2B77A
Accessibility & contrast
On white
3.44
#BA7E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#BA7E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7E28
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7E28 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#CB6F6D
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba7e28; /* rgb */ color: rgb(186, 126, 40); /* oklch */ color: oklch(64.0% 0.122 71.2);
Tailwind
colors: {
custom: {
50: '#d4a368',
500: '#ba7e28',
950: '#000000',
},
}SCSS
$custom: #ba7e28; $custom-light: #d4a368; $custom-dark: #000000;
JSON
{
"hex": "#ba7e28",
"rgb": {
"r": 186,
"g": 126,
"b": 40
},
"hsl": {
"h": 35.342,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.64012,
"c": 0.12232,
"h": 71.2
},
"luminance": 0.25514
}Semantic roles & 50–950 ramp
primary
#BA7E28
secondary
#7397CA
accent
#85E840
background
#FDFAF6
surface
#FBF3EB
border
#D4CDC6
text
#150F07
muted
#837F7A