#7F5912#7F5912

#7F5912 is a mid, moderate orange. Relative luminance 0.117; OKLCH L 49.3% C 0.096 H 77.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F5912
RGBrgb(127, 89, 18)
HSLhsl(39, 75%, 28%)
HSVhsv(39, 86%, 50%)
CMYKcmyk(0%, 29.9%, 85.8%, 50.2%)
CIE-LABlab(40.74, 9.27, 43.55)
CIE-LCHlch(40.74, 44.53, 77.99°)
OKLaboklab(49.25% 0.0209 0.0933)
OKLCHoklch(49.25% 0.096 77.4)
XYZxyz(12.4349, 11.7015, 2.1759)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5912 #12387F
analogous
#7F2312 #7F5912 #6E7F12
triadic
#7F5912 #127F59 #59127F
tetradic
#7F5912 #127F23 #12387F #7F126E
square
#7F5912 #127F23 #12387F #7F126E
split-complementary
#7F5912 #126E7F #23127F
monochromatic
#1B1304 #49330A #7F5912 #B57F1A #E1A12B

Accessibility & contrast

On white

6.29
#7F5912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7F5912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5912
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5912#FFFFFF#000000##FFFFFF
##7F59121.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B02
Deuteranopia (green-blind)
#706415
Tritanopia (blue-blind)
#8B4F4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f5912;
/* rgb */ color: rgb(127, 89, 18);
/* oklch */ color: oklch(49.3% 0.096 77.4);
Tailwind
colors: {
  custom: {
    50: '#a98757',
    500: '#7f5912',
    950: '#000000',
  },
}
SCSS
$custom: #7f5912;
$custom-light: #a98757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5912",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 39.083,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.09566,
    "h": 77.4
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#7F5912
secondary
#3864B5
accent
#77F236
background
#FAF8F5
surface
#F5EFE9
border
#CFCAC5
text
#110B03
muted
#807C78

Preview Lab

Preview with #7F5912

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

Preview Lab → · Contrast checker → · Palette generator →

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