#BA8227#BA8227
#BA8227 is a light, vivid orange. Relative luminance 0.266; OKLCH L 64.8% C 0.123 H 74.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8227 |
|---|---|
| RGB | rgb(186, 130, 39) |
| HSL | hsl(37, 65%, 44%) |
| HSV | hsv(37, 79%, 73%) |
| CMYK | cmyk(0%, 30.1%, 79%, 27.1%) |
| CIE-LAB | lab(58.56, 13.68, 54.45) |
| CIE-LCH | lch(58.56, 56.14, 75.89°) |
| OKLab | oklab(64.78% 0.0326 0.1184) |
| OKLCH | oklch(64.78% 0.123 74.6) |
| XYZ | xyz(28.6006, 26.5533, 5.5381) |
| Luminance | 0.2655 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.55
Darkgoldenrod
#B8860B
ΔE00 4.11
Mustard Brown
#AC7E04
ΔE00 4.96
Bronze (survey)
#A87900
ΔE00 5.54
Dark Tan
#AF884A
ΔE00 5.66
Caramel
#C68E4E
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8227 #275FBA
analogous
#BA3927 #BA8227 #A9BA27
triadic
#BA8227 #27BA82 #8227BA
tetradic
#BA8227 #27BA39 #275FBA #BA27A9
square
#BA8227 #27BA39 #275FBA #BA27A9
split-complementary
#BA8227 #27A9BA #3927BA
monochromatic
#553B12 #875F1C #BA8227 #D8A146 #E3BA79
Accessibility & contrast
On white
3.33
#BA8227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#BA8227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8227
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8227 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#CB7370
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ba8227; /* rgb */ color: rgb(186, 130, 39); /* oklch */ color: oklch(64.8% 0.123 74.6);
Tailwind
colors: {
custom: {
50: '#d4a668',
500: '#ba8227',
950: '#000000',
},
}SCSS
$custom: #ba8227; $custom-light: #d4a668; $custom-dark: #000000;
JSON
{
"hex": "#ba8227",
"rgb": {
"r": 186,
"g": 130,
"b": 39
},
"hsl": {
"h": 37.143,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.64776,
"c": 0.12283,
"h": 74.6
},
"luminance": 0.26551
}Semantic roles & 50–950 ramp
primary
#BA8227
secondary
#7294CB
accent
#80E840
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#150F07
muted
#837F7A