#BA9938#BA9938
#BA9938 is a light, moderate orange. Relative luminance 0.335; OKLCH L 69.5% C 0.120 H 89.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9938 |
|---|---|
| RGB | rgb(186, 153, 56) |
| HSL | hsl(45, 54%, 47%) |
| HSV | hsv(45, 70%, 73%) |
| CMYK | cmyk(0%, 17.7%, 69.9%, 27.1%) |
| CIE-LAB | lab(64.57, 1.83, 53.42) |
| CIE-LCH | lch(64.57, 53.46, 88.03°) |
| OKLab | oklab(69.53% 0.0004 0.1198) |
| OKLCH | oklch(69.53% 0.12 89.8) |
| XYZ | xyz(32.3565, 33.5091, 8.5043) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Gold
#B59410
ΔE00 3.49
Ocher
#BF9B0C
ΔE00 3.86
Yellow Brown
#B79400
ΔE00 3.96
Brown Yellow
#B29705
ΔE00 4.51
Baby Shit Brown
#AD900D
ΔE00 4.55
Ocre
#C69C04
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9938 #3859BA
analogous
#BA5838 #BA9938 #9ABA38
triadic
#BA9938 #38BA99 #9938BA
tetradic
#BA9938 #38BA58 #3859BA #BA389A
square
#BA9938 #38BA58 #3859BA #BA389A
split-complementary
#BA9938 #389ABA #5838BA
monochromatic
#5C4C1C #8B722A #BA9938 #CFB360 #DDC98F
Accessibility & contrast
On white
2.73
#BA9938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#BA9938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9938
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9938 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA972B
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#C98C85
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9938; /* rgb */ color: rgb(186, 153, 56); /* oklch */ color: oklch(69.5% 0.120 89.8);
Tailwind
colors: {
custom: {
50: '#d2b674',
500: '#ba9938',
950: '#000000',
},
}SCSS
$custom: #ba9938; $custom-light: #d2b674; $custom-dark: #000000;
JSON
{
"hex": "#ba9938",
"rgb": {
"r": 186,
"g": 153,
"b": 56
},
"hsl": {
"h": 44.769,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.69531,
"c": 0.11975,
"h": 89.8
},
"luminance": 0.33507
}Semantic roles & 50–950 ramp
primary
#BA9938
secondary
#8697C8
accent
#70DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B