#7F4017#7F4017

#7F4017 is a dark, moderate orange. Relative luminance 0.082; OKLCH L 44.4% C 0.102 H 49.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7F4017
RGBrgb(127, 64, 23)
HSLhsl(24, 69%, 29%)
HSVhsv(24, 82%, 50%)
CMYKcmyk(0%, 49.6%, 81.9%, 50.2%)
CIE-LABlab(34.48, 24.14, 35.76)
CIE-LCHlch(34.48, 43.14, 55.97°)
OKLaboklab(44.42% 0.0654 0.0778)
OKLCHoklch(44.42% 0.102 49.9)
XYZxyz(10.7415, 8.2420, 1.8356)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4017 #17567F
analogous
#7F1722 #7F4017 #7F7417
triadic
#7F4017 #177F40 #40177F
tetradic
#7F4017 #227F17 #17567F #74177F
square
#7F4017 #227F17 #17567F #74177F
split-complementary
#7F4017 #177F74 #17227F
monochromatic
#1A0D05 #4B260E #7F4017 #B35A20 #DB7736

Accessibility & contrast

On white

7.93
#7F4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7F4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4017
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4017#FFFFFF#000000##FFFFFF
##7F40171.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#615716
Tritanopia (blue-blind)
#8C3238
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f4017;
/* rgb */ color: rgb(127, 64, 23);
/* oklch */ color: oklch(44.4% 0.102 49.9);
Tailwind
colors: {
  custom: {
    50: '#aa7657',
    500: '#7f4017',
    950: '#000000',
  },
}
SCSS
$custom: #7f4017;
$custom-light: #aa7657;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4017",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 23.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.10162,
    "h": 49.9
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#7F4017
secondary
#3E85B4
accent
#A7EC3C
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F4017

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

Preview Lab → · Contrast checker → · Palette generator →

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