#7F6212#7F6212

#7F6212 is a mid, moderate orange. Relative luminance 0.133; OKLCH L 51.2% C 0.098 H 86.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7F6212
RGBrgb(127, 98, 18)
HSLhsl(44, 75%, 28%)
HSVhsv(44, 86%, 50%)
CMYKcmyk(0%, 22.8%, 85.8%, 50.2%)
CIE-LABlab(43.20, 3.95, 45.68)
CIE-LCHlch(43.20, 45.85, 85.05°)
OKLaboklab(51.18% 0.0056 0.098)
OKLCHoklch(51.18% 0.098 86.7)
XYZxyz(13.2301, 13.2920, 2.4409)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6212 #122F7F
analogous
#7F2C12 #7F6212 #657F12
triadic
#7F6212 #127F62 #62127F
tetradic
#7F6212 #127F2C #122F7F #7F1265
square
#7F6212 #127F2C #122F7F #7F1265
split-complementary
#7F6212 #12657F #2C127F
monochromatic
#1B1504 #49390A #7F6212 #B58B1A #E1B02B

Accessibility & contrast

On white

5.74
#7F6212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F6212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6212
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6212#FFFFFF#000000##FFFFFF
##7F62121.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#766917
Tritanopia (blue-blind)
#8A5853
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f6212;
/* rgb */ color: rgb(127, 98, 18);
/* oklch */ color: oklch(51.2% 0.098 86.7);
Tailwind
colors: {
  custom: {
    50: '#a88e59',
    500: '#7f6212',
    950: '#000000',
  },
}
SCSS
$custom: #7f6212;
$custom-light: #a88e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6212",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 44.037,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.09815,
    "h": 86.7
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#7F6212
secondary
#3859B5
accent
#68F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6212

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

Preview Lab → · Contrast checker → · Palette generator →

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