#7F3217#7F3217

#7F3217 is a dark, moderate orange. Relative luminance 0.069; OKLCH L 42.1% C 0.114 H 38.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7F3217
RGBrgb(127, 50, 23)
HSLhsl(16, 69%, 29%)
HSVhsv(16, 82%, 50%)
CMYKcmyk(0%, 60.6%, 81.9%, 50.2%)
CIE-LABlab(31.48, 31.78, 32.82)
CIE-LCHlch(31.48, 45.69, 45.93°)
OKLaboklab(42.13% 0.0886 0.0714)
OKLCHoklch(42.13% 0.114 38.9)
XYZxyz(10.0487, 6.8565, 1.6047)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3217 #17647F
analogous
#7F1730 #7F3217 #7F6617
triadic
#7F3217 #177F32 #32177F
tetradic
#7F3217 #307F17 #17647F #66177F
square
#7F3217 #307F17 #17647F #66177F
split-complementary
#7F3217 #177F66 #17307F
monochromatic
#1A0A05 #4B1E0E #7F3217 #B34620 #DB6136

Accessibility & contrast

On white

8.86
#7F3217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F3217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3217
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3217#FFFFFF#000000##FFFFFF
##7F32171.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F13
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#8C202C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f3217;
/* rgb */ color: rgb(127, 50, 23);
/* oklch */ color: oklch(42.1% 0.114 38.9);
Tailwind
colors: {
  custom: {
    50: '#ab6d56',
    500: '#7f3217',
    950: '#000000',
  },
}
SCSS
$custom: #7f3217;
$custom-light: #ab6d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3217",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 23
  },
  "hsl": {
    "h": 15.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.11381,
    "h": 38.9
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#7F3217
secondary
#3E95B4
accent
#BEEC3C
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F3217

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

Preview Lab → · Contrast checker → · Palette generator →

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