#7E6012#7E6012

#7E6012 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.6% C 0.097 H 85.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E6012
RGBrgb(126, 96, 18)
HSLhsl(43, 75%, 28%)
HSVhsv(43, 86%, 49%)
CMYKcmyk(0%, 23.8%, 85.7%, 50.6%)
CIE-LABlab(42.53, 4.65, 45.05)
CIE-LCHlch(42.53, 45.29, 84.11°)
OKLaboklab(50.63% 0.0077 0.0967)
OKLCHoklch(50.63% 0.097 85.5)
XYZxyz(12.8971, 12.8460, 2.3724)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6012 #12307E
analogous
#7E2A12 #7E6012 #667E12
triadic
#7E6012 #127E60 #60127E
tetradic
#7E6012 #127E2A #12307E #7E1266
square
#7E6012 #127E2A #12307E #7E1266
split-complementary
#7E6012 #12667E #2A127E
monochromatic
#1B1404 #48370A #7E6012 #B4891A #E1AE2A

Accessibility & contrast

On white

5.88
#7E6012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E6012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6012
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6012#FFFFFF#000000##FFFFFF
##7E60121.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#746817
Tritanopia (blue-blind)
#895652
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e6012;
/* rgb */ color: rgb(126, 96, 18);
/* oklch */ color: oklch(50.6% 0.097 85.5);
Tailwind
colors: {
  custom: {
    50: '#a88c58',
    500: '#7e6012',
    950: '#000000',
  },
}
SCSS
$custom: #7e6012;
$custom-light: #a88c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6012",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 43.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.097,
    "h": 85.5
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#7E6012
secondary
#385AB4
accent
#6AF236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6012

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

Preview Lab → · Contrast checker → · Palette generator →

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