#7F6012#7F6012

#7F6012 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.7% C 0.097 H 84.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7F6012
RGBrgb(127, 96, 18)
HSLhsl(43, 75%, 28%)
HSVhsv(43, 86%, 50%)
CMYKcmyk(0%, 24.4%, 85.8%, 50.2%)
CIE-LABlab(42.65, 5.13, 45.20)
CIE-LCHlch(42.65, 45.49, 83.53°)
OKLaboklab(50.75% 0.009 0.097)
OKLCHoklch(50.75% 0.097 84.7)
XYZxyz(13.0453, 12.9224, 2.3793)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6012 #12317F
analogous
#7F2A12 #7F6012 #677F12
triadic
#7F6012 #127F60 #60127F
tetradic
#7F6012 #127F2A #12317F #7F1267
square
#7F6012 #127F2A #12317F #7F1267
split-complementary
#7F6012 #12677F #2A127F
monochromatic
#1B1404 #49370A #7F6012 #B5891A #E1AD2B

Accessibility & contrast

On white

5.86
#7F6012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7F6012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6012
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6012#FFFFFF#000000##FFFFFF
##7F60121.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#756817
Tritanopia (blue-blind)
#8B5652
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f6012;
/* rgb */ color: rgb(127, 96, 18);
/* oklch */ color: oklch(50.7% 0.097 84.7);
Tailwind
colors: {
  custom: {
    50: '#a88c58',
    500: '#7f6012',
    950: '#000000',
  },
}
SCSS
$custom: #7f6012;
$custom-light: #a88c58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6012",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 42.936,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.09737,
    "h": 84.7
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#7F6012
secondary
#385CB5
accent
#6BF236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6012

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

Preview Lab → · Contrast checker → · Palette generator →

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