#7F4F12#7F4F12

#7F4F12 is a mid, moderate orange. Relative luminance 0.101; OKLCH L 47.2% C 0.096 H 66.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7F4F12
RGBrgb(127, 79, 18)
HSLhsl(34, 75%, 28%)
HSVhsv(34, 86%, 50%)
CMYKcmyk(0%, 37.8%, 85.8%, 50.2%)
CIE-LABlab(38.11, 15.21, 41.26)
CIE-LCHlch(38.11, 43.97, 69.77°)
OKLaboklab(47.2% 0.0382 0.0883)
OKLCHoklch(47.2% 0.096 66.6)
XYZxyz(11.6585, 10.1488, 1.9171)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4F12 #12427F
analogous
#7F1812 #7F4F12 #787F12
triadic
#7F4F12 #127F4F #4F127F
tetradic
#7F4F12 #127F18 #12427F #7F1278
square
#7F4F12 #127F18 #12427F #7F1278
split-complementary
#7F4F12 #12787F #18127F
monochromatic
#1B1104 #492E0A #7F4F12 #B5701A #E1912B

Accessibility & contrast

On white

6.93
#7F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F4F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4F12
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4F12#FFFFFF#000000##FFFFFF
##7F4F121.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#6A5E13
Tritanopia (blue-blind)
#8B4443
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f4f12;
/* rgb */ color: rgb(127, 79, 18);
/* oklch */ color: oklch(47.2% 0.096 66.6);
Tailwind
colors: {
  custom: {
    50: '#a98056',
    500: '#7f4f12',
    950: '#000000',
  },
}
SCSS
$custom: #7f4f12;
$custom-light: #a98056;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4f12",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 33.578,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.09621,
    "h": 66.6
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#7F4F12
secondary
#386FB5
accent
#89F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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