#7E4912#7E4912

#7E4912 is a mid, moderate orange. Relative luminance 0.092; OKLCH L 45.9% C 0.097 H 60.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7E4912
RGBrgb(126, 73, 18)
HSLhsl(31, 75%, 28%)
HSVhsv(31, 86%, 49%)
CMYKcmyk(0%, 42.1%, 85.7%, 50.6%)
CIE-LABlab(36.45, 18.29, 39.75)
CIE-LCHlch(36.45, 43.75, 65.30°)
OKLaboklab(45.89% 0.0473 0.0851)
OKLCHoklch(45.89% 0.097 60.9)
XYZxyz(11.0969, 9.2456, 1.7723)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4912 #12477E
analogous
#7E1312 #7E4912 #7D7E12
triadic
#7E4912 #127E49 #49127E
tetradic
#7E4912 #127E13 #12477E #7E127D
square
#7E4912 #127E13 #12477E #7E127D
split-complementary
#7E4912 #127D7E #13127E
monochromatic
#1B1004 #482A0A #7E4912 #B4681A #E1872A

Accessibility & contrast

On white

7.37
#7E4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7E4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4912
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4912#FFFFFF#000000##FFFFFF
##7E49121.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#665B12
Tritanopia (blue-blind)
#8A3D3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7e4912;
/* rgb */ color: rgb(126, 73, 18);
/* oklch */ color: oklch(45.9% 0.097 60.9);
Tailwind
colors: {
  custom: {
    50: '#a97c55',
    500: '#7e4912',
    950: '#000000',
  },
}
SCSS
$custom: #7e4912;
$custom-light: #a97c55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4912",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 30.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.09734,
    "h": 60.9
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#7E4912
secondary
#3875B4
accent
#92F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7E4912

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

Preview Lab → · Contrast checker → · Palette generator →

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