#7F581F#7F581F

#7F581F is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.1% C 0.088 H 72.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7F581F
RGBrgb(127, 88, 31)
HSLhsl(36, 61%, 31%)
HSVhsv(36, 76%, 50%)
CMYKcmyk(0%, 30.7%, 75.6%, 50.2%)
CIE-LABlab(40.56, 10.41, 37.96)
CIE-LCHlch(40.56, 39.36, 74.66°)
OKLaboklab(49.14% 0.0259 0.0845)
OKLCHoklch(49.14% 0.088 72.9)
XYZxyz(12.4903, 11.5914, 2.8756)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F581F #1F467F
analogous
#7F281F #7F581F #767F1F
triadic
#7F581F #1F7F58 #581F7F
tetradic
#7F581F #1F7F28 #1F467F #7F1F76
square
#7F581F #1F7F28 #1F467F #7F1F76
split-complementary
#7F581F #1F767F #281F7F
monochromatic
#1D1407 #4E3613 #7F581F #B07A2B #D29946

Accessibility & contrast

On white

6.33
#7F581F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7F581F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F581F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F581F#FFFFFF#000000##FFFFFF
##7F581F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A18
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#8B4E4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f581f;
/* rgb */ color: rgb(127, 88, 31);
/* oklch */ color: oklch(49.1% 0.088 72.9);
Tailwind
colors: {
  custom: {
    50: '#a8875e',
    500: '#7f581f',
    950: '#000000',
  },
}
SCSS
$custom: #7f581f;
$custom-light: #a8875e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f581f",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 35.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.08836,
    "h": 72.9
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#7F581F
secondary
#4873B2
accent
#85E444
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F581F

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

Preview Lab → · Contrast checker → · Palette generator →

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