#BA8E23#BA8E23
#BA8E23 is a light, vivid orange. Relative luminance 0.299; OKLCH L 67.1% C 0.127 H 84.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8E23 |
|---|---|
| RGB | rgb(186, 142, 35) |
| HSL | hsl(43, 68%, 43%) |
| HSV | hsv(43, 81%, 73%) |
| CMYK | cmyk(0%, 23.7%, 81.2%, 27.1%) |
| CIE-LAB | lab(61.58, 6.92, 58.63) |
| CIE-LCH | lch(61.58, 59.03, 83.27°) |
| OKLab | oklab(67.13% 0.0126 0.1265) |
| OKLCH | oklch(67.13% 0.127 84.3) |
| XYZ | xyz(30.2281, 29.9087, 5.7707) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Ochre
#BF9005
ΔE00 2.20
Darkgoldenrod
#B8860B
ΔE00 2.83
Yellowy Brown
#AE8B0C
ΔE00 3.64
Yellow Brown
#B79400
ΔE00 4.40
Dark Gold
#B59410
ΔE00 4.41
Dark Mustard
#A88905
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8E23 #234FBA
analogous
#BA4323 #BA8E23 #9ABA23
triadic
#BA8E23 #23BA8E #8E23BA
tetradic
#BA8E23 #23BA43 #234FBA #BA239A
square
#BA8E23 #23BA43 #234FBA #BA239A
split-complementary
#BA8E23 #239ABA #4323BA
monochromatic
#533F10 #866719 #BA8E23 #DBAE3F #E5C373
Accessibility & contrast
On white
3.01
#BA8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#BA8E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA8E23
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8E23 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E09
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#CA807A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ba8e23; /* rgb */ color: rgb(186, 142, 35); /* oklch */ color: oklch(67.1% 0.127 84.3);
Tailwind
colors: {
custom: {
50: '#d4ae68',
500: '#ba8e23',
950: '#000000',
},
}SCSS
$custom: #ba8e23; $custom-light: #d4ae68; $custom-dark: #000000;
JSON
{
"hex": "#ba8e23",
"rgb": {
"r": 186,
"g": 142,
"b": 35
},
"hsl": {
"h": 42.517,
"s": 68.326,
"l": 43.333
},
"oklch": {
"l": 0.67131,
"c": 0.12715,
"h": 84.3
},
"luminance": 0.29906
}Semantic roles & 50–950 ramp
primary
#BA8E23
secondary
#6D89CC
accent
#6FEB3D
background
#FDFAF6
surface
#FBF4EB
border
#D4CEC6
text
#151007
muted
#837F7A