#7F4012#7F4012

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

Color values

HEX#7F4012
RGBrgb(127, 64, 18)
HSLhsl(25, 75%, 28%)
HSVhsv(25, 86%, 50%)
CMYKcmyk(0%, 49.6%, 85.8%, 50.2%)
CIE-LABlab(34.44, 23.96, 38.03)
CIE-LCHlch(34.44, 44.95, 57.78°)
OKLaboklab(44.38% 0.0641 0.0812)
OKLCHoklch(44.38% 0.103 51.7)
XYZxyz(10.6960, 8.2238, 1.5962)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4012 #12517F
analogous
#7F121B #7F4012 #7F7612
triadic
#7F4012 #127F40 #40127F
tetradic
#7F4012 #1B7F12 #12517F #76127F
square
#7F4012 #1B7F12 #12517F #76127F
split-complementary
#7F4012 #127F76 #121B7F
monochromatic
#1B0E04 #49250A #7F4012 #B55B1A #E1772B

Accessibility & contrast

On white

7.94
#7F4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7F4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4012
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4012#FFFFFF#000000##FFFFFF
##7F40121.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#615711
Tritanopia (blue-blind)
#8C3237
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f4012;
/* rgb */ color: rgb(127, 64, 18);
/* oklch */ color: oklch(44.4% 0.103 51.7);
Tailwind
colors: {
  custom: {
    50: '#aa7654',
    500: '#7f4012',
    950: '#000000',
  },
}
SCSS
$custom: #7f4012;
$custom-light: #aa7654;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4012",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 25.321,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44377,
    "c": 0.10345,
    "h": 51.7
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#7F4012
secondary
#3880B5
accent
#A3F236
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F4012

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

Preview Lab → · Contrast checker → · Palette generator →

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