#7E5F16#7E5F16

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

Color values

HEX#7E5F16
RGBrgb(126, 95, 22)
HSLhsl(42, 70%, 29%)
HSVhsv(42, 83%, 49%)
CMYKcmyk(0%, 24.6%, 82.5%, 50.6%)
CIE-LABlab(42.28, 5.38, 43.41)
CIE-LCHlch(42.28, 43.74, 82.93°)
OKLaboklab(50.44% 0.0102 0.0941)
OKLCHoklch(50.44% 0.095 83.8)
XYZxyz(12.8421, 12.6789, 2.5298)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5F16 #16357E
analogous
#7E2B16 #7E5F16 #697E16
triadic
#7E5F16 #167E5F #5F167E
tetradic
#7E5F16 #167E2B #16357E #7E1669
square
#7E5F16 #167E2B #16357E #7E1669
split-complementary
#7E5F16 #16697E #2B167E
monochromatic
#1A1405 #4A380D #7E5F16 #B2861F #DBA933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E5F16#FFFFFF#000000##FFFFFF
##7E5F161.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)
#6C5F07
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#895551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5f16;
/* rgb */ color: rgb(126, 95, 22);
/* oklch */ color: oklch(50.4% 0.095 83.8);
Tailwind
colors: {
  custom: {
    50: '#a88c5a',
    500: '#7e5f16',
    950: '#000000',
  },
}
SCSS
$custom: #7e5f16;
$custom-light: #a88c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5f16",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 42.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.09464,
    "h": 83.8
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#7E5F16
secondary
#3D60B3
accent
#70ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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