#B2871F#B2871F
#B2871F is a light, vivid orange. Relative luminance 0.269; OKLCH L 64.8% C 0.124 H 84.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B2871F |
|---|---|
| RGB | rgb(178, 135, 31) |
| HSL | hsl(42, 70%, 41%) |
| HSV | hsv(42, 83%, 70%) |
| CMYK | cmyk(0%, 24.2%, 82.6%, 30.2%) |
| CIE-LAB | lab(58.88, 7.05, 57.24) |
| CIE-LCH | lch(58.88, 57.67, 82.98°) |
| OKLab | oklab(64.81% 0.013 0.1231) |
| OKLCH | oklch(64.81% 0.124 84) |
| XYZ | xyz(27.2732, 26.8939, 5.0507) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 2.07
Mustard Brown
#AC7E04
ΔE00 3.11
Yellowy Brown
#AE8B0C
ΔE00 3.44
Ochre
#BF9005
ΔE00 4.02
Dark Mustard
#A88905
ΔE00 4.47
Bronze (survey)
#A87900
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2871F #1F4AB2
analogous
#B23D1F #B2871F #93B21F
triadic
#B2871F #1FB287 #871FB2
tetradic
#B2871F #1FB23D #1F4AB2 #B21F93
square
#B2871F #1FB23D #1F4AB2 #B21F93
split-complementary
#B2871F #1F93B2 #3D1FB2
monochromatic
#4A380D #7E5F16 #B2871F #DBAA33 #E5C067
Accessibility & contrast
On white
3.29
#B2871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#B2871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B2871F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2871F | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#A49225
Tritanopia (blue-blind)
#C27974
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b2871f; /* rgb */ color: rgb(178, 135, 31); /* oklch */ color: oklch(64.8% 0.124 84.0);
Tailwind
colors: {
custom: {
50: '#cea965',
500: '#b2871f',
950: '#000000',
},
}SCSS
$custom: #b2871f; $custom-light: #cea965; $custom-dark: #000000;
JSON
{
"hex": "#b2871f",
"rgb": {
"r": 178,
"g": 135,
"b": 31
},
"hsl": {
"h": 42.449,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.64808,
"c": 0.12376,
"h": 84
},
"luminance": 0.26892
}Semantic roles & 50–950 ramp
primary
#B2871F
secondary
#6381CA
accent
#6FED3B
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#150F06
muted
#837F7A