#7F571F#7F571F

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

Color values

HEX#7F571F
RGBrgb(127, 87, 31)
HSLhsl(35, 61%, 31%)
HSVhsv(35, 76%, 50%)
CMYKcmyk(0%, 31.5%, 75.6%, 50.2%)
CIE-LABlab(40.29, 11.01, 37.69)
CIE-LCHlch(40.29, 39.26, 73.72°)
OKLaboklab(48.93% 0.0277 0.0839)
OKLCHoklch(48.93% 0.088 71.8)
XYZxyz(12.4088, 11.4284, 2.8484)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F571F #1F477F
analogous
#7F271F #7F571F #777F1F
triadic
#7F571F #1F7F57 #571F7F
tetradic
#7F571F #1F7F27 #1F477F #7F1F77
square
#7F571F #1F7F27 #1F477F #7F1F77
split-complementary
#7F571F #1F777F #271F7F
monochromatic
#1D1407 #4E3513 #7F571F #B0792B #D29846

Accessibility & contrast

On white

6.39
#7F571F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7F571F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F571F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F571F#FFFFFF#000000##FFFFFF
##7F571F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f571f;
/* rgb */ color: rgb(127, 87, 31);
/* oklch */ color: oklch(48.9% 0.088 71.8);
Tailwind
colors: {
  custom: {
    50: '#a8865e',
    500: '#7f571f',
    950: '#000000',
  },
}
SCSS
$custom: #7f571f;
$custom-light: #a8865e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f571f",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 35,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48933,
    "c": 0.08834,
    "h": 71.8
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#7F571F
secondary
#4874B2
accent
#87E444
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F571F

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

Preview Lab → · Contrast checker → · Palette generator →

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