#7F4812#7F4812

#7F4812 is a mid, moderate orange. Relative luminance 0.092; OKLCH L 45.8% C 0.099 H 59.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7F4812
RGBrgb(127, 72, 18)
HSLhsl(30, 75%, 28%)
HSVhsv(30, 86%, 50%)
CMYKcmyk(0%, 43.3%, 85.8%, 50.2%)
CIE-LABlab(36.35, 19.33, 39.71)
CIE-LCHlch(36.35, 44.17, 64.04°)
OKLaboklab(45.84% 0.0504 0.0849)
OKLCHoklch(45.84% 0.099 59.3)
XYZxyz(11.1799, 9.1917, 1.7576)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4812 #12497F
analogous
#7F1212 #7F4812 #7F7E12
triadic
#7F4812 #127F48 #48127F
tetradic
#7F4812 #127F12 #12497F #7E127F
square
#7F4812 #127F12 #12497F #7E127F
split-complementary
#7F4812 #127F7E #12127F
monochromatic
#1B0F04 #492A0A #7F4812 #B5661A #E1852B

Accessibility & contrast

On white

7.40
#7F4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7F4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4812
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4812#FFFFFF#000000##FFFFFF
##7F48121.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#665A12
Tritanopia (blue-blind)
#8C3C3E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f4812;
/* rgb */ color: rgb(127, 72, 18);
/* oklch */ color: oklch(45.8% 0.099 59.3);
Tailwind
colors: {
  custom: {
    50: '#aa7b55',
    500: '#7f4812',
    950: '#000000',
  },
}
SCSS
$custom: #7f4812;
$custom-light: #aa7b55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4812",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 29.725,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.09871,
    "h": 59.3
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#7F4812
secondary
#3877B5
accent
#95F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7F4812

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

Preview Lab → · Contrast checker → · Palette generator →

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