#7F5012#7F5012

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

Color values

HEX#7F5012
RGBrgb(127, 80, 18)
HSLhsl(34, 75%, 28%)
HSVhsv(34, 86%, 50%)
CMYKcmyk(0%, 37%, 85.8%, 50.2%)
CIE-LABlab(38.37, 14.61, 41.48)
CIE-LCHlch(38.37, 43.98, 70.60°)
OKLaboklab(47.4% 0.0365 0.0888)
OKLCHoklch(47.4% 0.096 67.7)
XYZxyz(11.7312, 10.2942, 1.9413)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5012 #12417F
analogous
#7F1912 #7F5012 #777F12
triadic
#7F5012 #127F50 #50127F
tetradic
#7F5012 #127F19 #12417F #7F1277
square
#7F5012 #127F19 #12417F #7F1277
split-complementary
#7F5012 #12777F #19127F
monochromatic
#1B1104 #492E0A #7F5012 #B5721A #E1922B

Accessibility & contrast

On white

6.87
#7F5012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F5012
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5012#FFFFFF#000000##FFFFFF
##7F50121.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5406
Deuteranopia (green-blind)
#6B5F14
Tritanopia (blue-blind)
#8B4544
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f5012;
/* rgb */ color: rgb(127, 80, 18);
/* oklch */ color: oklch(47.4% 0.096 67.7);
Tailwind
colors: {
  custom: {
    50: '#a98156',
    500: '#7f5012',
    950: '#000000',
  },
}
SCSS
$custom: #7f5012;
$custom-light: #a98156;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5012",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 34.128,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.09599,
    "h": 67.7
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#7F5012
secondary
#386EB5
accent
#87F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F5012

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

Preview Lab → · Contrast checker → · Palette generator →

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