#7E5717#7E5717

#7E5717 is a mid, moderate orange. Relative luminance 0.113; OKLCH L 48.7% C 0.092 H 74.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7E5717
RGBrgb(126, 87, 23)
HSLhsl(37, 69%, 29%)
HSVhsv(37, 82%, 49%)
CMYKcmyk(0%, 31%, 81.7%, 50.6%)
CIE-LABlab(40.11, 10.16, 41.02)
CIE-LCHlch(40.11, 42.26, 76.09°)
OKLaboklab(48.74% 0.0242 0.0892)
OKLCHoklch(48.74% 0.092 74.8)
XYZxyz(12.1679, 11.3149, 2.3536)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5717 #173E7E
analogous
#7E2417 #7E5717 #727E17
triadic
#7E5717 #177E57 #57177E
tetradic
#7E5717 #177E24 #173E7E #7E1772
square
#7E5717 #177E24 #173E7E #7E1772
split-complementary
#7E5717 #17727E #24177E
monochromatic
#1A1205 #4A330E #7E5717 #B27B20 #DA9C35

Accessibility & contrast

On white

6.44
#7E5717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7E5717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5717
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5717#FFFFFF#000000##FFFFFF
##7E57171.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#8A4D4B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e5717;
/* rgb */ color: rgb(126, 87, 23);
/* oklch */ color: oklch(48.7% 0.092 74.8);
Tailwind
colors: {
  custom: {
    50: '#a8865a',
    500: '#7e5717',
    950: '#000000',
  },
}
SCSS
$custom: #7e5717;
$custom-light: #a8865a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5717",
  "rgb": {
    "r": 126,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 37.282,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.0924,
    "h": 74.8
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#7E5717
secondary
#3E6AB3
accent
#7FEC3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7E5717

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

Preview Lab → · Contrast checker → · Palette generator →

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