#7F6017#7F6017

#7F6017 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.8% C 0.095 H 83.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7F6017
RGBrgb(127, 96, 23)
HSLhsl(42, 69%, 29%)
HSVhsv(42, 82%, 50%)
CMYKcmyk(0%, 24.4%, 81.9%, 50.2%)
CIE-LABlab(42.67, 5.31, 43.43)
CIE-LCHlch(42.67, 43.75, 83.03°)
OKLaboklab(50.78% 0.0101 0.0943)
OKLCHoklch(50.78% 0.095 83.9)
XYZxyz(13.0908, 12.9406, 2.6188)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6017 #17367F
analogous
#7F2C17 #7F6017 #6A7F17
triadic
#7F6017 #177F60 #60177F
tetradic
#7F6017 #177F2C #17367F #7F176A
square
#7F6017 #177F2C #17367F #7F176A
split-complementary
#7F6017 #176A7F #2C177F
monochromatic
#1A1405 #4B390E #7F6017 #B38720 #DBA936

Accessibility & contrast

On white

5.85
#7F6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6017
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6017#FFFFFF#000000##FFFFFF
##7F60171.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#8A5652
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f6017;
/* rgb */ color: rgb(127, 96, 23);
/* oklch */ color: oklch(50.8% 0.095 83.9);
Tailwind
colors: {
  custom: {
    50: '#a88c5b',
    500: '#7f6017',
    950: '#000000',
  },
}
SCSS
$custom: #7f6017;
$custom-light: #a88c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6017",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 42.115,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.09485,
    "h": 83.9
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#7F6017
secondary
#3E61B4
accent
#70EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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