#7E5F17#7E5F17

#7E5F17 is a mid, moderate orange. Relative luminance 0.127; OKLCH L 50.4% C 0.094 H 83.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7E5F17
RGBrgb(126, 95, 23)
HSLhsl(42, 69%, 29%)
HSVhsv(42, 82%, 49%)
CMYKcmyk(0%, 24.6%, 81.7%, 50.6%)
CIE-LABlab(42.28, 5.42, 43.03)
CIE-LCHlch(42.28, 43.37, 82.82°)
OKLaboklab(50.44% 0.0104 0.0935)
OKLCHoklch(50.44% 0.094 83.6)
XYZxyz(12.8519, 12.6829, 2.5816)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F17 #17367E
analogous
#7E2C17 #7E5F17 #6A7E17
triadic
#7E5F17 #177E5F #5F177E
tetradic
#7E5F17 #177E2C #17367E #7E176A
square
#7E5F17 #177E2C #17367E #7E176A
split-complementary
#7E5F17 #176A7E #2C177E
monochromatic
#1A1405 #4A380E #7E5F17 #B28620 #DAA935

Accessibility & contrast

On white

5.94
#7E5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7E5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5F17
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5F17#FFFFFF#000000##FFFFFF
##7E5F171.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#895551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5f17;
/* rgb */ color: rgb(126, 95, 23);
/* oklch */ color: oklch(50.4% 0.094 83.6);
Tailwind
colors: {
  custom: {
    50: '#a78c5b',
    500: '#7e5f17',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f17;
$custom-light: #a78c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f17",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 41.942,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.09409,
    "h": 83.6
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#7E5F17
secondary
#3E61B3
accent
#71EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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