#7E4222#7E4222

#7E4222 is a dark, moderate orange. Relative luminance 0.084; OKLCH L 44.7% C 0.094 H 47.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7E4222
RGBrgb(126, 66, 34)
HSLhsl(21, 58%, 31%)
HSVhsv(21, 73%, 49%)
CMYKcmyk(0%, 47.6%, 73%, 50.6%)
CIE-LABlab(34.90, 23.09, 30.37)
CIE-LCHlch(34.90, 38.15, 52.75°)
OKLaboklab(44.74% 0.0643 0.0689)
OKLCHoklch(44.74% 0.094 47)
XYZxyz(10.8421, 8.4488, 2.5729)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4222 #225E7E
analogous
#7E2230 #7E4222 #7E7022
triadic
#7E4222 #227E42 #42227E
tetradic
#7E4222 #307E22 #225E7E #70227E
square
#7E4222 #307E22 #225E7E #70227E
split-complementary
#7E4222 #227E70 #22307E
monochromatic
#1E1008 #4E2915 #7E4222 #AE5B2F #CF794C

Accessibility & contrast

On white

7.81
#7E4222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E4222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4222
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4222#FFFFFF#000000##FFFFFF
##7E42221.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#8A363B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e4222;
/* rgb */ color: rgb(126, 66, 34);
/* oklch */ color: oklch(44.7% 0.094 47.0);
Tailwind
colors: {
  custom: {
    50: '#a8775e',
    500: '#7e4222',
    950: '#000000',
  },
}
SCSS
$custom: #7e4222;
$custom-light: #a8775e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4222",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 20.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.09425,
    "h": 47
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#7E4222
secondary
#4B8DB1
accent
#ABE147
background
#FAF7F5
surface
#F5EDE9
border
#CFC8C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7E4222

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

Preview Lab → · Contrast checker → · Palette generator →

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