#7F5917#7F5917

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

Color values

HEX#7F5917
RGBrgb(127, 89, 23)
HSLhsl(38, 69%, 29%)
HSVhsv(38, 82%, 50%)
CMYKcmyk(0%, 29.9%, 81.9%, 50.2%)
CIE-LABlab(40.77, 9.45, 41.68)
CIE-LCHlch(40.77, 42.74, 77.23°)
OKLaboklab(49.28% 0.022 0.0906)
OKLCHoklch(49.28% 0.093 76.3)
XYZxyz(12.4803, 11.7197, 2.4153)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5917 #173D7F
analogous
#7F2517 #7F5917 #717F17
triadic
#7F5917 #177F59 #59177F
tetradic
#7F5917 #177F25 #173D7F #7F1771
square
#7F5917 #177F25 #173D7F #7F1771
split-complementary
#7F5917 #17717F #25177F
monochromatic
#1A1205 #4B350E #7F5917 #B37D20 #DB9E36

Accessibility & contrast

On white

6.28
#7F5917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F5917
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5917#FFFFFF#000000##FFFFFF
##7F59171.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#8B4F4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f5917;
/* rgb */ color: rgb(127, 89, 23);
/* oklch */ color: oklch(49.3% 0.093 76.3);
Tailwind
colors: {
  custom: {
    50: '#a9875a',
    500: '#7f5917',
    950: '#000000',
  },
}
SCSS
$custom: #7f5917;
$custom-light: #a9875a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5917",
  "rgb": {
    "r": 127,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 38.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.09319,
    "h": 76.3
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#7F5917
secondary
#3E69B4
accent
#7CEC3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5917

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

Preview Lab → · Contrast checker → · Palette generator →

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