#7F5017#7F5017

#7F5017 is a mid, moderate orange. Relative luminance 0.103; OKLCH L 47.4% C 0.094 H 66.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7F5017
RGBrgb(127, 80, 23)
HSLhsl(33, 69%, 29%)
HSVhsv(33, 82%, 50%)
CMYKcmyk(0%, 37%, 81.9%, 50.2%)
CIE-LABlab(38.40, 14.80, 39.48)
CIE-LCHlch(38.40, 42.16, 69.45°)
OKLaboklab(47.44% 0.0376 0.0858)
OKLCHoklch(47.44% 0.094 66.3)
XYZxyz(11.7767, 10.3124, 2.1807)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5017 #17467F
analogous
#7F1C17 #7F5017 #7A7F17
triadic
#7F5017 #177F50 #50177F
tetradic
#7F5017 #177F1C #17467F #7F177A
square
#7F5017 #177F1C #17467F #7F177A
split-complementary
#7F5017 #177A7F #1C177F
monochromatic
#1A1005 #4B2F0E #7F5017 #B37120 #DB9036

Accessibility & contrast

On white

6.86
#7F5017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7F5017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5017
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5017#FFFFFF#000000##FFFFFF
##7F50171.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#6A5F18
Tritanopia (blue-blind)
#8B4545
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f5017;
/* rgb */ color: rgb(127, 80, 23);
/* oklch */ color: oklch(47.4% 0.094 66.3);
Tailwind
colors: {
  custom: {
    50: '#a98159',
    500: '#7f5017',
    950: '#000000',
  },
}
SCSS
$custom: #7f5017;
$custom-light: #a98159;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5017",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 32.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.09368,
    "h": 66.3
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#7F5017
secondary
#3E73B4
accent
#8BEC3C
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #7F5017

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

Preview Lab → · Contrast checker → · Palette generator →

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