#7F581B#7F581B

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

Color values

HEX#7F581B
RGBrgb(127, 88, 27)
HSLhsl(37, 65%, 30%)
HSVhsv(37, 79%, 50%)
CMYKcmyk(0%, 30.7%, 78.7%, 50.2%)
CIE-LABlab(40.53, 10.22, 39.76)
CIE-LCHlch(40.53, 41.05, 75.59°)
OKLaboklab(49.11% 0.0248 0.0874)
OKLCHoklch(49.11% 0.091 74.2)
XYZxyz(12.4408, 11.5717, 2.6150)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F581B #1B427F
analogous
#7F261B #7F581B #747F1B
triadic
#7F581B #1B7F58 #581B7F
tetradic
#7F581B #1B7F26 #1B427F #7F1B74
square
#7F581B #1B7F26 #1B427F #7F1B74
split-complementary
#7F581B #1B747F #261B7F
monochromatic
#1A1206 #4D3510 #7F581B #B17B26 #D69B3E

Accessibility & contrast

On white

6.34
#7F581B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F581B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F581B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F581B#FFFFFF#000000##FFFFFF
##7F581B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f581b;
/* rgb */ color: rgb(127, 88, 27);
/* oklch */ color: oklch(49.1% 0.091 74.2);
Tailwind
colors: {
  custom: {
    50: '#a8875c',
    500: '#7f581b',
    950: '#000000',
  },
}
SCSS
$custom: #7f581b;
$custom-light: #a8875c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f581b",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 36.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49105,
    "c": 0.09084,
    "h": 74.2
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#7F581B
secondary
#436FB3
accent
#81E840
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F581B

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

Preview Lab → · Contrast checker → · Palette generator →

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