#7E4217#7E4217

#7E4217 is a dark, moderate orange. Relative luminance 0.084; OKLCH L 44.6% C 0.099 H 52.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7E4217
RGBrgb(126, 66, 23)
HSLhsl(25, 69%, 29%)
HSVhsv(25, 82%, 49%)
CMYKcmyk(0%, 47.6%, 81.7%, 50.6%)
CIE-LABlab(34.79, 22.55, 36.00)
CIE-LCHlch(34.79, 42.48, 57.93°)
OKLaboklab(44.62% 0.0607 0.0784)
OKLCHoklch(44.62% 0.099 52.2)
XYZxyz(10.7080, 8.3952, 1.8670)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4217 #17537E
analogous
#7E171F #7E4217 #7E7617
triadic
#7E4217 #177E42 #42177E
tetradic
#7E4217 #1F7E17 #17537E #76177E
square
#7E4217 #1F7E17 #17537E #76177E
split-complementary
#7E4217 #177E76 #171F7E
monochromatic
#1A0E05 #4A270E #7E4217 #B25D20 #DA7A35

Accessibility & contrast

On white

7.84
#7E4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E4217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4217
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4217#FFFFFF#000000##FFFFFF
##7E42171.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A11
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#8B3539
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e4217;
/* rgb */ color: rgb(126, 66, 23);
/* oklch */ color: oklch(44.6% 0.099 52.2);
Tailwind
colors: {
  custom: {
    50: '#a97757',
    500: '#7e4217',
    950: '#000000',
  },
}
SCSS
$custom: #7e4217;
$custom-light: #a97757;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4217",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 25.049,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.44624,
    "c": 0.09914,
    "h": 52.2
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#7E4217
secondary
#3E82B3
accent
#A2EC3C
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7E4217

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

Preview Lab → · Contrast checker → · Palette generator →

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