#7E4812#7E4812

#7E4812 is a mid, moderate orange. Relative luminance 0.091; OKLCH L 45.7% C 0.098 H 59.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7E4812
RGBrgb(126, 72, 18)
HSLhsl(30, 75%, 28%)
HSVhsv(30, 86%, 49%)
CMYKcmyk(0%, 42.9%, 85.7%, 50.6%)
CIE-LABlab(36.21, 18.87, 39.53)
CIE-LCHlch(36.21, 43.80, 64.48°)
OKLaboklab(45.7% 0.0491 0.0846)
OKLCHoklch(45.7% 0.098 59.9)
XYZxyz(11.0317, 9.1152, 1.7506)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4812 #12487E
analogous
#7E1212 #7E4812 #7E7E12
triadic
#7E4812 #127E48 #48127E
tetradic
#7E4812 #127E12 #12487E #7E127E
square
#7E4812 #127E12 #12487E #7E127E
split-complementary
#7E4812 #127E7E #12127E
monochromatic
#1B0F04 #48290A #7E4812 #B4671A #E1852A

Accessibility & contrast

On white

7.44
#7E4812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7E4812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4812
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4812#FFFFFF#000000##FFFFFF
##7E48121.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4812;
/* rgb */ color: rgb(126, 72, 18);
/* oklch */ color: oklch(45.7% 0.098 59.9);
Tailwind
colors: {
  custom: {
    50: '#a97b55',
    500: '#7e4812',
    950: '#000000',
  },
}
SCSS
$custom: #7e4812;
$custom-light: #a97b55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4812",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 30,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.09778,
    "h": 59.9
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#7E4812
secondary
#3876B4
accent
#94F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7E4812

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

Preview Lab → · Contrast checker → · Palette generator →

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