#7E4022#7E4022

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

Color values

HEX#7E4022
RGBrgb(126, 64, 34)
HSLhsl(20, 58%, 31%)
HSVhsv(20, 73%, 49%)
CMYKcmyk(0%, 49.2%, 73%, 50.6%)
CIE-LABlab(34.44, 24.24, 29.85)
CIE-LCHlch(34.44, 38.45, 50.92°)
OKLaboklab(44.39% 0.0678 0.0678)
OKLCHoklch(44.39% 0.096 45)
XYZxyz(10.7273, 8.2191, 2.5346)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4022 #22607E
analogous
#7E2232 #7E4022 #7E6E22
triadic
#7E4022 #227E40 #40227E
tetradic
#7E4022 #327E22 #22607E #6E227E
square
#7E4022 #327E22 #22607E #6E227E
split-complementary
#7E4022 #227E6E #22327E
monochromatic
#1E0F08 #4E2815 #7E4022 #AE582F #CF764C

Accessibility & contrast

On white

7.94
#7E4022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E4022
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4022#FFFFFF#000000##FFFFFF
##7E40221.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51491F
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#8A3439
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e4022;
/* rgb */ color: rgb(126, 64, 34);
/* oklch */ color: oklch(44.4% 0.096 45.0);
Tailwind
colors: {
  custom: {
    50: '#a8765e',
    500: '#7e4022',
    950: '#000000',
  },
}
SCSS
$custom: #7e4022;
$custom-light: #a8765e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4022",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 19.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.09587,
    "h": 45
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#7E4022
secondary
#4B90B1
accent
#AFE147
background
#FAF7F5
surface
#F5EDE9
border
#CFC8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E4022

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

Preview Lab → · Contrast checker → · Palette generator →

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