#BA7F28#BA7F28
#BA7F28 is a light, vivid orange. Relative luminance 0.258; OKLCH L 64.2% C 0.122 H 72.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7F28 |
|---|---|
| RGB | rgb(186, 127, 40) |
| HSL | hsl(36, 65%, 44%) |
| HSV | hsv(36, 78%, 73%) |
| CMYK | cmyk(0%, 31.7%, 78.5%, 27.1%) |
| CIE-LAB | lab(57.82, 15.38, 53.37) |
| CIE-LCH | lch(57.82, 55.54, 73.92°) |
| OKLab | oklab(64.2% 0.0377 0.1163) |
| OKLCH | oklch(64.2% 0.122 72) |
| XYZ | xyz(28.2242, 25.7736, 5.4954) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.82
Dirty Orange
#C87606
ΔE00 5.38
Caramel (survey)
#AF6F09
ΔE00 5.45
Darkgoldenrod
#B8860B
ΔE00 5.48
Leather
#AC7434
ΔE00 5.60
Mustard Brown
#AC7E04
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7F28 #2863BA
analogous
#BA3628 #BA7F28 #ACBA28
triadic
#BA7F28 #28BA7F #7F28BA
tetradic
#BA7F28 #28BA36 #2863BA #BA28AC
square
#BA7F28 #28BA36 #2863BA #BA28AC
split-complementary
#BA7F28 #28ACBA #3628BA
monochromatic
#553A12 #885D1D #BA7F28 #D89D48 #E2B87A
Accessibility & contrast
On white
3.41
#BA7F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#BA7F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7F28
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7F28 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93831A
Deuteranopia (green-blind)
#A1912B
Tritanopia (blue-blind)
#CB706E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7f28; /* rgb */ color: rgb(186, 127, 40); /* oklch */ color: oklch(64.2% 0.122 72.0);
Tailwind
colors: {
custom: {
50: '#d4a469',
500: '#ba7f28',
950: '#000000',
},
}SCSS
$custom: #ba7f28; $custom-light: #d4a469; $custom-dark: #000000;
JSON
{
"hex": "#ba7f28",
"rgb": {
"r": 186,
"g": 127,
"b": 40
},
"hsl": {
"h": 35.753,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.64203,
"c": 0.12229,
"h": 72
},
"luminance": 0.25771
}Semantic roles & 50–950 ramp
primary
#BA7F28
secondary
#7397CA
accent
#84E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A