#7E4817#7E4817

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

Color values

HEX#7E4817
RGBrgb(126, 72, 23)
HSLhsl(29, 69%, 29%)
HSVhsv(29, 82%, 49%)
CMYKcmyk(0%, 42.9%, 81.7%, 50.6%)
CIE-LABlab(36.24, 19.06, 37.39)
CIE-LCHlch(36.24, 41.96, 62.99°)
OKLaboklab(45.74% 0.0503 0.0814)
OKLCHoklch(45.74% 0.096 58.3)
XYZxyz(11.0772, 9.1334, 1.9900)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4817 #174D7E
analogous
#7E1719 #7E4817 #7E7C17
triadic
#7E4817 #177E48 #48177E
tetradic
#7E4817 #197E17 #174D7E #7C177E
square
#7E4817 #197E17 #174D7E #7C177E
split-complementary
#7E4817 #177E7C #17197E
monochromatic
#1A0F05 #4A2A0E #7E4817 #B26620 #DA8435

Accessibility & contrast

On white

7.43
#7E4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7E4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4817
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4817#FFFFFF#000000##FFFFFF
##7E48171.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#8A3C3E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e4817;
/* rgb */ color: rgb(126, 72, 23);
/* oklch */ color: oklch(45.7% 0.096 58.3);
Tailwind
colors: {
  custom: {
    50: '#a97b58',
    500: '#7e4817',
    950: '#000000',
  },
}
SCSS
$custom: #7e4817;
$custom-light: #a97b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4817",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 28.544,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.09565,
    "h": 58.3
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#7E4817
secondary
#3E7BB3
accent
#98EC3C
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7E4817

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

Preview Lab → · Contrast checker → · Palette generator →

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