#7E5812#7E5812

#7E5812 is a mid, moderate orange. Relative luminance 0.115; OKLCH L 48.9% C 0.095 H 77.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7E5812
RGBrgb(126, 88, 18)
HSLhsl(39, 75%, 28%)
HSVhsv(39, 86%, 49%)
CMYKcmyk(0%, 30.2%, 85.7%, 50.6%)
CIE-LABlab(40.34, 9.38, 43.16)
CIE-LCHlch(40.34, 44.17, 77.74°)
OKLaboklab(48.92% 0.0213 0.0925)
OKLCHoklch(48.92% 0.095 77)
XYZxyz(12.2040, 11.4598, 2.1414)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5812 #12387E
analogous
#7E2212 #7E5812 #6E7E12
triadic
#7E5812 #127E58 #58127E
tetradic
#7E5812 #127E22 #12387E #7E126E
square
#7E5812 #127E22 #12387E #7E126E
split-complementary
#7E5812 #126E7E #22127E
monochromatic
#1B1304 #48330A #7E5812 #B47D1A #E1A02A

Accessibility & contrast

On white

6.38
#7E5812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7E5812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5812
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5812#FFFFFF#000000##FFFFFF
##7E58121.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A03
Deuteranopia (green-blind)
#6F6315
Tritanopia (blue-blind)
#8A4E4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e5812;
/* rgb */ color: rgb(126, 88, 18);
/* oklch */ color: oklch(48.9% 0.095 77.0);
Tailwind
colors: {
  custom: {
    50: '#a88757',
    500: '#7e5812',
    950: '#000000',
  },
}
SCSS
$custom: #7e5812;
$custom-light: #a88757;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5812",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 38.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.09497,
    "h": 77
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#7E5812
secondary
#3864B4
accent
#78F236
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B03
muted
#7F7C78

Preview Lab

Preview with #7E5812

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

Preview Lab → · Contrast checker → · Palette generator →

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