#B4871A#B4871A
#B4871A is a light, vivid orange. Relative luminance 0.271; OKLCH L 65.0% C 0.127 H 83.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B4871A |
|---|---|
| RGB | rgb(180, 135, 26) |
| HSL | hsl(42, 75%, 40%) |
| HSV | hsv(42, 86%, 71%) |
| CMYK | cmyk(0%, 25%, 85.6%, 29.4%) |
| CIE-LAB | lab(59.07, 7.80, 59.02) |
| CIE-LCH | lch(59.07, 59.54, 82.47°) |
| OKLab | oklab(65.01% 0.0147 0.1257) |
| OKLCH | oklch(65.01% 0.127 83.3) |
| XYZ | xyz(27.6747, 27.1080, 4.7519) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 1.44
Mustard Brown
#AC7E04
ΔE00 3.08
Ochre
#BF9005
ΔE00 3.65
Yellowy Brown
#AE8B0C
ΔE00 3.65
Dark Mustard
#A88905
ΔE00 4.77
Bronze (survey)
#A87900
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4871A #1A47B4
analogous
#B43A1A #B4871A #94B41A
triadic
#B4871A #1AB487 #871AB4
tetradic
#B4871A #1AB43A #1A47B4 #B41A94
square
#B4871A #1AB43A #1A47B4 #B41A94
split-complementary
#B4871A #1A94B4 #3A1AB4
monochromatic
#49370B #7F5F12 #B4871A #E0AB2B #E8C060
Accessibility & contrast
On white
3.27
#B4871A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#B4871A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B4871A
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4871A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4871A | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#A59321
Tritanopia (blue-blind)
#C47973
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b4871a; /* rgb */ color: rgb(180, 135, 26); /* oklch */ color: oklch(65.0% 0.127 83.3);
Tailwind
colors: {
custom: {
50: '#d0a963',
500: '#b4871a',
950: '#000000',
},
}SCSS
$custom: #b4871a; $custom-light: #d0a963; $custom-dark: #000000;
JSON
{
"hex": "#b4871a",
"rgb": {
"r": 180,
"g": 135,
"b": 26
},
"hsl": {
"h": 42.468,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.65006,
"c": 0.12657,
"h": 83.3
},
"luminance": 0.27106
}Semantic roles & 50–950 ramp
primary
#B4871A
secondary
#5D7ECC
accent
#6DF136
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#150F06
muted
#837F7A