#7E4018#7E4018

#7E4018 is a dark, moderate orange. Relative luminance 0.082; OKLCH L 44.3% C 0.100 H 49.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7E4018
RGBrgb(126, 64, 24)
HSLhsl(24, 68%, 29%)
HSVhsv(24, 81%, 49%)
CMYKcmyk(0%, 49.2%, 81%, 50.6%)
CIE-LABlab(34.33, 23.74, 35.07)
CIE-LCHlch(34.33, 42.35, 55.90°)
OKLaboklab(44.28% 0.0645 0.0766)
OKLCHoklch(44.28% 0.1 49.9)
XYZxyz(10.6034, 8.1696, 1.8825)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4018 #18567E
analogous
#7E1823 #7E4018 #7E7318
triadic
#7E4018 #187E40 #40187E
tetradic
#7E4018 #237E18 #18567E #73187E
square
#7E4018 #237E18 #18567E #73187E
split-complementary
#7E4018 #187E73 #18237E
monochromatic
#1A0D05 #4B260E #7E4018 #B15A22 #D97737

Accessibility & contrast

On white

7.97
#7E4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7E4018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4018
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4018#FFFFFF#000000##FFFFFF
##7E40181.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#8B3338
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e4018;
/* rgb */ color: rgb(126, 64, 24);
/* oklch */ color: oklch(44.3% 0.100 49.9);
Tailwind
colors: {
  custom: {
    50: '#a97658',
    500: '#7e4018',
    950: '#000000',
  },
}
SCSS
$custom: #7e4018;
$custom-light: #a97658;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4018",
  "rgb": {
    "r": 126,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 23.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.44275,
    "c": 0.10015,
    "h": 49.9
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#7E4018
secondary
#3F85B2
accent
#A7EB3D
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7E4018

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

Preview Lab → · Contrast checker → · Palette generator →

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