#7E4020#7E4020

#7E4020 is a dark, moderate orange. Relative luminance 0.082; OKLCH L 44.4% C 0.097 H 46.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7E4020
RGBrgb(126, 64, 32)
HSLhsl(20, 59%, 31%)
HSVhsv(20, 75%, 49%)
CMYKcmyk(0%, 49.2%, 74.6%, 50.6%)
CIE-LABlab(34.41, 24.13, 30.94)
CIE-LCHlch(34.41, 39.24, 52.05°)
OKLaboklab(44.36% 0.067 0.0698)
OKLCHoklch(44.36% 0.097 46.1)
XYZxyz(10.6993, 8.2079, 2.3871)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4020 #205E7E
analogous
#7E202F #7E4020 #7E6F20
triadic
#7E4020 #207E40 #40207E
tetradic
#7E4020 #2F7E20 #205E7E #6F207E
square
#7E4020 #2F7E20 #205E7E #6F207E
split-complementary
#7E4020 #207E6F #202F7E
monochromatic
#1C0E07 #4D2714 #7E4020 #AF592C #D07648

Accessibility & contrast

On white

7.95
#7E4020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7E4020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4020
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4020#FFFFFF#000000##FFFFFF
##7E40201.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#8A3339
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e4020;
/* rgb */ color: rgb(126, 64, 32);
/* oklch */ color: oklch(44.4% 0.097 46.1);
Tailwind
colors: {
  custom: {
    50: '#a9765d',
    500: '#7e4020',
    950: '#000000',
  },
}
SCSS
$custom: #7e4020;
$custom-light: #a9765d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4020",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 20.426,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.09675,
    "h": 46.1
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#7E4020
secondary
#498DB1
accent
#ADE345
background
#FAF7F5
surface
#F5EDE9
border
#CFC8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E4020

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

Preview Lab → · Contrast checker → · Palette generator →

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