#BA9438#BA9438
#BA9438 is a light, moderate orange. Relative luminance 0.319; OKLCH L 68.5% C 0.117 H 86.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9438 |
|---|---|
| RGB | rgb(186, 148, 56) |
| HSL | hsl(42, 54%, 47%) |
| HSV | hsv(42, 70%, 73%) |
| CMYK | cmyk(0%, 20.4%, 69.9%, 27.1%) |
| CIE-LAB | lab(63.27, 4.55, 52.08) |
| CIE-LCH | lch(63.27, 52.28, 85.00°) |
| OKLab | oklab(68.5% 0.0082 0.1169) |
| OKLCH | oklch(68.5% 0.117 86) |
| XYZ | xyz(31.5552, 31.9065, 8.2372) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 4.11
Dark Gold
#B59410
ΔE00 4.36
Yellowy Brown
#AE8B0C
ΔE00 4.67
Yellow Brown
#B79400
ΔE00 4.68
Ocher
#BF9B0C
ΔE00 5.12
Baby Shit Brown
#AD900D
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9438 #385EBA
analogous
#BA5338 #BA9438 #9FBA38
triadic
#BA9438 #38BA94 #9438BA
tetradic
#BA9438 #38BA53 #385EBA #BA389F
square
#BA9438 #38BA53 #385EBA #BA389F
split-complementary
#BA9438 #389FBA #5338BA
monochromatic
#5C491C #8B6F2A #BA9438 #CFAF60 #DDC68F
Accessibility & contrast
On white
2.85
#BA9438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#BA9438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9438
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9438 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#AF9D3C
Tritanopia (blue-blind)
#C98781
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ba9438; /* rgb */ color: rgb(186, 148, 56); /* oklch */ color: oklch(68.5% 0.117 86.0);
Tailwind
colors: {
custom: {
50: '#d3b374',
500: '#ba9438',
950: '#000000',
},
}SCSS
$custom: #ba9438; $custom-light: #d3b374; $custom-dark: #000000;
JSON
{
"hex": "#ba9438",
"rgb": {
"r": 186,
"g": 148,
"b": 56
},
"hsl": {
"h": 42.462,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.68503,
"c": 0.11719,
"h": 86
},
"luminance": 0.31904
}Semantic roles & 50–950 ramp
primary
#BA9438
secondary
#8699C8
accent
#75DD4B
background
#FDFAF7
surface
#FAF5ED
border
#D3CFC8
text
#151108
muted
#83807B