#7E4212#7E4212

#7E4212 is a dark, moderate orange. Relative luminance 0.084; OKLCH L 44.6% C 0.101 H 54.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7E4212
RGBrgb(126, 66, 18)
HSLhsl(27, 75%, 28%)
HSVhsv(27, 86%, 49%)
CMYKcmyk(0%, 47.6%, 85.7%, 50.6%)
CIE-LABlab(34.76, 22.37, 38.24)
CIE-LCHlch(34.76, 44.30, 59.68°)
OKLaboklab(44.59% 0.0595 0.0817)
OKLCHoklch(44.59% 0.101 54)
XYZxyz(10.6626, 8.3770, 1.6276)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4212 #124E7E
analogous
#7E1218 #7E4212 #7E7812
triadic
#7E4212 #127E42 #42127E
tetradic
#7E4212 #187E12 #124E7E #78127E
square
#7E4212 #187E12 #124E7E #78127E
split-complementary
#7E4212 #127E78 #12187E
monochromatic
#1B0E04 #48260A #7E4212 #B45E1A #E17B2A

Accessibility & contrast

On white

7.85
#7E4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4212
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4212#FFFFFF#000000##FFFFFF
##7E42121.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54490A
Deuteranopia (green-blind)
#625711
Tritanopia (blue-blind)
#8B3539
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e4212;
/* rgb */ color: rgb(126, 66, 18);
/* oklch */ color: oklch(44.6% 0.101 54.0);
Tailwind
colors: {
  custom: {
    50: '#a97754',
    500: '#7e4212',
    950: '#000000',
  },
}
SCSS
$custom: #7e4212;
$custom-light: #a97754;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4212",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 26.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.10107,
    "h": 54
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#7E4212
secondary
#387DB4
accent
#9EF236
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7E4212

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

Preview Lab → · Contrast checker → · Palette generator →

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