#7E5A12#7E5A12

#7E5A12 is a mid, moderate orange. Relative luminance 0.118; OKLCH L 49.3% C 0.095 H 79.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7E5A12
RGBrgb(126, 90, 18)
HSLhsl(40, 75%, 28%)
HSVhsv(40, 86%, 49%)
CMYKcmyk(0%, 28.6%, 85.7%, 50.6%)
CIE-LABlab(40.88, 8.20, 43.63)
CIE-LCHlch(40.88, 44.39, 79.36°)
OKLaboklab(49.34% 0.0179 0.0936)
OKLCHoklch(49.34% 0.095 79.2)
XYZxyz(12.3704, 11.7926, 2.1968)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5A12 #12367E
analogous
#7E2412 #7E5A12 #6C7E12
triadic
#7E5A12 #127E5A #5A127E
tetradic
#7E5A12 #127E24 #12367E #7E126C
square
#7E5A12 #127E24 #12367E #7E126C
split-complementary
#7E5A12 #126C7E #24127E
monochromatic
#1B1304 #48340A #7E5A12 #B4801A #E1A42A

Accessibility & contrast

On white

6.25
#7E5A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7E5A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5A12
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5A12#FFFFFF#000000##FFFFFF
##7E5A121.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#706416
Tritanopia (blue-blind)
#8A504D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e5a12;
/* rgb */ color: rgb(126, 90, 18);
/* oklch */ color: oklch(49.3% 0.095 79.2);
Tailwind
colors: {
  custom: {
    50: '#a88857',
    500: '#7e5a12',
    950: '#000000',
  },
}
SCSS
$custom: #7e5a12;
$custom-light: #a88857;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5a12",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 40,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.09527,
    "h": 79.2
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#7E5A12
secondary
#3861B4
accent
#75F236
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B03
muted
#7F7C78

Preview Lab

Preview with #7E5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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