#7E5F22#7E5F22

#7E5F22 is a mid, moderate orange. Relative luminance 0.127; OKLCH L 50.5% C 0.087 H 81.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7E5F22
RGBrgb(126, 95, 34)
HSLhsl(40, 58%, 31%)
HSVhsv(40, 73%, 49%)
CMYKcmyk(0%, 24.6%, 73%, 50.6%)
CIE-LABlab(42.36, 5.96, 38.35)
CIE-LCHlch(42.36, 38.81, 81.17°)
OKLaboklab(50.53% 0.0134 0.086)
OKLCHoklch(50.53% 0.087 81.1)
XYZxyz(12.9859, 12.7365, 3.2875)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F22 #22417E
analogous
#7E3122 #7E5F22 #6F7E22
triadic
#7E5F22 #227E5F #5F227E
tetradic
#7E5F22 #227E31 #22417E #7E226F
square
#7E5F22 #227E31 #22417E #7E226F
split-complementary
#7E5F22 #226F7E #31227E
monochromatic
#1E1608 #4E3B15 #7E5F22 #AE832F #CFA34C

Accessibility & contrast

On white

5.92
#7E5F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7E5F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5F22
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5F22#FFFFFF#000000##FFFFFF
##7E5F221.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F1A
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#895652
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5f22;
/* rgb */ color: rgb(126, 95, 34);
/* oklch */ color: oklch(50.5% 0.087 81.1);
Tailwind
colors: {
  custom: {
    50: '#a78c61',
    500: '#7e5f22',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f22;
$custom-light: #a78c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f22",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 39.783,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.08702,
    "h": 81.1
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#7E5F22
secondary
#4B6DB1
accent
#7BE147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E5F22

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

Preview Lab → · Contrast checker → · Palette generator →

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