#7F5812#7F5812

#7F5812 is a mid, moderate orange. Relative luminance 0.115; OKLCH L 49.0% C 0.096 H 76.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7F5812
RGBrgb(127, 88, 18)
HSLhsl(39, 75%, 28%)
HSVhsv(39, 86%, 50%)
CMYKcmyk(0%, 30.7%, 85.8%, 50.2%)
CIE-LABlab(40.47, 9.86, 43.32)
CIE-LCHlch(40.47, 44.43, 77.18°)
OKLaboklab(49.04% 0.0226 0.0928)
OKLCHoklch(49.04% 0.096 76.3)
XYZxyz(12.3522, 11.5362, 2.1483)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5812 #12397F
analogous
#7F2112 #7F5812 #6F7F12
triadic
#7F5812 #127F58 #58127F
tetradic
#7F5812 #127F21 #12397F #7F126F
square
#7F5812 #127F21 #12397F #7F126F
split-complementary
#7F5812 #126F7F #21127F
monochromatic
#1B1304 #49330A #7F5812 #B57D1A #E1A02B

Accessibility & contrast

On white

6.35
#7F5812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F5812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5812
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5812#FFFFFF#000000##FFFFFF
##7F58121.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A03
Deuteranopia (green-blind)
#706315
Tritanopia (blue-blind)
#8B4D4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5812;
/* rgb */ color: rgb(127, 88, 18);
/* oklch */ color: oklch(49.0% 0.096 76.3);
Tailwind
colors: {
  custom: {
    50: '#a98757',
    500: '#7f5812',
    950: '#000000',
  },
}
SCSS
$custom: #7f5812;
$custom-light: #a98757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5812",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 38.532,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.09554,
    "h": 76.3
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#7F5812
secondary
#3865B5
accent
#79F236
background
#FAF8F5
surface
#F5EFE9
border
#CFCAC5
text
#110B03
muted
#807C78

Preview Lab

Preview with #7F5812

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

Preview Lab → · Contrast checker → · Palette generator →

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