#7F5312#7F5312

#7F5312 is a mid, moderate orange. Relative luminance 0.107; OKLCH L 48.0% C 0.096 H 70.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7F5312
RGBrgb(127, 83, 18)
HSLhsl(36, 75%, 28%)
HSVhsv(36, 86%, 50%)
CMYKcmyk(0%, 34.6%, 85.8%, 50.2%)
CIE-LABlab(39.14, 12.83, 42.17)
CIE-LCHlch(39.14, 44.07, 73.07°)
OKLaboklab(48.01% 0.0313 0.0903)
OKLCHoklch(48.01% 0.096 70.9)
XYZxyz(11.9558, 10.7433, 2.0162)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5312 #123E7F
analogous
#7F1D12 #7F5312 #747F12
triadic
#7F5312 #127F53 #53127F
tetradic
#7F5312 #127F1D #123E7F #7F1274
square
#7F5312 #127F1D #123E7F #7F1274
split-complementary
#7F5312 #12747F #1D127F
monochromatic
#1B1204 #49300A #7F5312 #B5761A #E1972B

Accessibility & contrast

On white

6.67
#7F5312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7F5312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5312
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5312#FFFFFF#000000##FFFFFF
##7F53121.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f5312;
/* rgb */ color: rgb(127, 83, 18);
/* oklch */ color: oklch(48.0% 0.096 70.9);
Tailwind
colors: {
  custom: {
    50: '#a98357',
    500: '#7f5312',
    950: '#000000',
  },
}
SCSS
$custom: #7f5312;
$custom-light: #a98357;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5312",
  "rgb": {
    "r": 127,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 35.78,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.09555,
    "h": 70.9
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#7F5312
secondary
#386AB5
accent
#82F236
background
#FBF8F5
surface
#F6EFE9
border
#D0CAC5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F5312

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

Preview Lab → · Contrast checker → · Palette generator →

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