#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
RGBrgb(178, 135, 31)
HSLhsl(42, 70%, 41%)
HSVhsv(42, 83%, 70%)
CMYKcmyk(0%, 24.2%, 82.6%, 30.2%)
CIE-LABlab(58.88, 7.05, 57.24)
CIE-LCHlch(58.88, 57.67, 82.98°)
OKLaboklab(64.81% 0.013 0.1231)
OKLCHoklch(64.81% 0.124 84)
XYZxyz(27.2732, 26.8939, 5.0507)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##B2871F1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.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

Preview Lab

Preview with #B2871F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B2871F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva