#7E5212#7E5212

#7E5212 is a mid, moderate orange. Relative luminance 0.105; OKLCH L 47.7% C 0.095 H 70.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7E5212
RGBrgb(126, 82, 18)
HSLhsl(36, 75%, 28%)
HSVhsv(36, 86%, 49%)
CMYKcmyk(0%, 34.9%, 85.7%, 50.6%)
CIE-LABlab(38.75, 12.95, 41.77)
CIE-LCHlch(38.75, 43.73, 72.77°)
OKLaboklab(47.67% 0.0317 0.0895)
OKLCHoklch(47.67% 0.095 70.5)
XYZxyz(11.7316, 10.5150, 1.9839)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5212 #123E7E
analogous
#7E1C12 #7E5212 #747E12
triadic
#7E5212 #127E52 #52127E
tetradic
#7E5212 #127E1C #123E7E #7E1274
square
#7E5212 #127E1C #123E7E #7E1274
split-complementary
#7E5212 #12747E #1C127E
monochromatic
#1B1104 #482F0A #7E5212 #B4751A #E1962A

Accessibility & contrast

On white

6.77
#7E5212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7E5212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5212
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5212#FFFFFF#000000##FFFFFF
##7E52121.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#6B5F14
Tritanopia (blue-blind)
#8A4746
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e5212;
/* rgb */ color: rgb(126, 82, 18);
/* oklch */ color: oklch(47.7% 0.095 70.5);
Tailwind
colors: {
  custom: {
    50: '#a88256',
    500: '#7e5212',
    950: '#000000',
  },
}
SCSS
$custom: #7e5212;
$custom-light: #a88256;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5212",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 35.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.09494,
    "h": 70.5
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#7E5212
secondary
#386AB4
accent
#83F236
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7E5212

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

Preview Lab → · Contrast checker → · Palette generator →

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