#7F5212#7F5212

#7F5212 is a mid, moderate orange. Relative luminance 0.106; OKLCH L 47.8% C 0.096 H 69.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7F5212
RGBrgb(127, 82, 18)
HSLhsl(35, 75%, 28%)
HSVhsv(35, 86%, 50%)
CMYKcmyk(0%, 35.4%, 85.8%, 50.2%)
CIE-LABlab(38.88, 13.43, 41.94)
CIE-LCHlch(38.88, 44.03, 72.25°)
OKLaboklab(47.81% 0.033 0.0898)
OKLCHoklch(47.81% 0.096 69.8)
XYZxyz(11.8798, 10.5914, 1.9908)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5212 #123F7F
analogous
#7F1B12 #7F5212 #757F12
triadic
#7F5212 #127F52 #52127F
tetradic
#7F5212 #127F1B #123F7F #7F1275
square
#7F5212 #127F1B #123F7F #7F1275
split-complementary
#7F5212 #12757F #1B127F
monochromatic
#1B1104 #492F0A #7F5212 #B5751A #E1962B

Accessibility & contrast

On white

6.74
#7F5212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F5212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5212
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5212#FFFFFF#000000##FFFFFF
##7F52121.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#6C6014
Tritanopia (blue-blind)
#8B4746
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f5212;
/* rgb */ color: rgb(127, 82, 18);
/* oklch */ color: oklch(47.8% 0.096 69.8);
Tailwind
colors: {
  custom: {
    50: '#a98256',
    500: '#7f5212',
    950: '#000000',
  },
}
SCSS
$custom: #7f5212;
$custom-light: #a98256;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5212",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 35.229,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.09566,
    "h": 69.8
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#7F5212
secondary
#386CB5
accent
#84F236
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F5212

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

Preview Lab → · Contrast checker → · Palette generator →

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