#BA9238#BA9238
#BA9238 is a light, moderate orange. Relative luminance 0.313; OKLCH L 68.1% C 0.116 H 84.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9238 |
|---|---|
| RGB | rgb(186, 146, 56) |
| HSL | hsl(42, 54%, 47%) |
| HSV | hsv(42, 70%, 73%) |
| CMYK | cmyk(0%, 21.5%, 69.9%, 27.1%) |
| CIE-LAB | lab(62.75, 5.65, 51.54) |
| CIE-LCH | lch(62.75, 51.85, 83.75°) |
| OKLab | oklab(68.1% 0.0114 0.1158) |
| OKLCH | oklch(68.1% 0.116 84.4) |
| XYZ | xyz(31.2442, 31.2845, 8.1335) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 4.08
Darkgoldenrod
#B8860B
ΔE00 4.80
Yellowy Brown
#AE8B0C
ΔE00 4.83
Dark Gold
#B59410
ΔE00 4.98
Yellow Brown
#B79400
ΔE00 5.25
Camel (survey)
#C69F59
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9238 #3860BA
analogous
#BA5138 #BA9238 #A1BA38
triadic
#BA9238 #38BA92 #9238BA
tetradic
#BA9238 #38BA51 #3860BA #BA38A1
square
#BA9238 #38BA51 #3860BA #BA38A1
split-complementary
#BA9238 #38A1BA #5138BA
monochromatic
#5C481C #8B6D2A #BA9238 #CFAD60 #DDC58F
Accessibility & contrast
On white
2.89
#BA9238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#BA9238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9238
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9238 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4922D
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#CA857F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ba9238; /* rgb */ color: rgb(186, 146, 56); /* oklch */ color: oklch(68.1% 0.116 84.4);
Tailwind
colors: {
custom: {
50: '#d3b173',
500: '#ba9238',
950: '#000000',
},
}SCSS
$custom: #ba9238; $custom-light: #d3b173; $custom-dark: #000000;
JSON
{
"hex": "#ba9238",
"rgb": {
"r": 186,
"g": 146,
"b": 56
},
"hsl": {
"h": 41.538,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.68096,
"c": 0.11632,
"h": 84.4
},
"luminance": 0.31282
}Semantic roles & 50–950 ramp
primary
#BA9238
secondary
#869AC8
accent
#78DD4B
background
#FDFAF7
surface
#FBF5ED
border
#D4CFC8
text
#151008
muted
#837F7B