#7E5B17#7E5B17

#7E5B17 is a mid, moderate orange. Relative luminance 0.120; OKLCH L 49.6% C 0.093 H 79.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7E5B17
RGBrgb(126, 91, 23)
HSLhsl(40, 69%, 29%)
HSVhsv(40, 82%, 49%)
CMYKcmyk(0%, 27.8%, 81.7%, 50.6%)
CIE-LABlab(41.19, 7.79, 42.02)
CIE-LCHlch(41.19, 42.74, 79.50°)
OKLaboklab(49.58% 0.0173 0.0914)
OKLCHoklch(49.58% 0.093 79.3)
XYZxyz(12.5008, 11.9807, 2.4646)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5B17 #173A7E
analogous
#7E2817 #7E5B17 #6E7E17
triadic
#7E5B17 #177E5B #5B177E
tetradic
#7E5B17 #177E28 #173A7E #7E176E
square
#7E5B17 #177E28 #173A7E #7E176E
split-complementary
#7E5B17 #176E7E #28177E
monochromatic
#1A1305 #4A360E #7E5B17 #B28020 #DAA235

Accessibility & contrast

On white

6.18
#7E5B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7E5B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5B17
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5B17#FFFFFF#000000##FFFFFF
##7E5B171.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0A
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#8A514E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e5b17;
/* rgb */ color: rgb(126, 91, 23);
/* oklch */ color: oklch(49.6% 0.093 79.3);
Tailwind
colors: {
  custom: {
    50: '#a8895a',
    500: '#7e5b17',
    950: '#000000',
  },
}
SCSS
$custom: #7e5b17;
$custom-light: #a8895a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5b17",
  "rgb": {
    "r": 126,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 39.612,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.09297,
    "h": 79.3
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#7E5B17
secondary
#3E66B3
accent
#78EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7E5B17

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

Preview Lab → · Contrast checker → · Palette generator →

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