#7F571B#7F571B

#7F571B is a mid, moderate orange. Relative luminance 0.114; OKLCH L 48.9% C 0.091 H 73.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7F571B
RGBrgb(127, 87, 27)
HSLhsl(36, 65%, 30%)
HSVhsv(36, 79%, 50%)
CMYKcmyk(0%, 31.5%, 78.7%, 50.2%)
CIE-LABlab(40.26, 10.81, 39.50)
CIE-LCHlch(40.26, 40.95, 74.69°)
OKLaboklab(48.9% 0.0265 0.0869)
OKLCHoklch(48.9% 0.091 73)
XYZxyz(12.3593, 11.4086, 2.5879)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F571B #1B437F
analogous
#7F251B #7F571B #757F1B
triadic
#7F571B #1B7F57 #571B7F
tetradic
#7F571B #1B7F25 #1B437F #7F1B75
square
#7F571B #1B7F25 #1B437F #7F1B75
split-complementary
#7F571B #1B757F #251B7F
monochromatic
#1A1206 #4D3410 #7F571B #B17A26 #D6993E

Accessibility & contrast

On white

6.40
#7F571B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7F571B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F571B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F571B#FFFFFF#000000##FFFFFF
##7F571B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655912
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#8B4D4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f571b;
/* rgb */ color: rgb(127, 87, 27);
/* oklch */ color: oklch(48.9% 0.091 73.0);
Tailwind
colors: {
  custom: {
    50: '#a8865c',
    500: '#7f571b',
    950: '#000000',
  },
}
SCSS
$custom: #7f571b;
$custom-light: #a8865c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f571b",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 36,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.0908,
    "h": 73
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#7F571B
secondary
#4370B3
accent
#83E840
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F571B

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

Preview Lab → · Contrast checker → · Palette generator →

#7F571B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva