#7F5717#7F5717

#7F5717 is a mid, moderate orange. Relative luminance 0.114; OKLCH L 48.9% C 0.093 H 74.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7F5717
RGBrgb(127, 87, 23)
HSLhsl(37, 69%, 29%)
HSVhsv(37, 82%, 50%)
CMYKcmyk(0%, 31.5%, 81.9%, 50.2%)
CIE-LABlab(40.23, 10.64, 41.18)
CIE-LCHlch(40.23, 42.54, 75.52°)
OKLaboklab(48.87% 0.0255 0.0895)
OKLCHoklch(48.87% 0.093 74.1)
XYZxyz(12.3162, 11.3913, 2.3605)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5717 #173F7F
analogous
#7F2317 #7F5717 #737F17
triadic
#7F5717 #177F57 #57177F
tetradic
#7F5717 #177F23 #173F7F #7F1773
square
#7F5717 #177F23 #173F7F #7F1773
split-complementary
#7F5717 #17737F #23177F
monochromatic
#1A1205 #4B340E #7F5717 #B37A20 #DB9B36

Accessibility & contrast

On white

6.41
#7F5717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7F5717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5717
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5717#FFFFFF#000000##FFFFFF
##7F57171.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#8B4D4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5717;
/* rgb */ color: rgb(127, 87, 23);
/* oklch */ color: oklch(48.9% 0.093 74.1);
Tailwind
colors: {
  custom: {
    50: '#a9865a',
    500: '#7f5717',
    950: '#000000',
  },
}
SCSS
$custom: #7f5717;
$custom-light: #a9865a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5717",
  "rgb": {
    "r": 127,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 36.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.09303,
    "h": 74.1
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#7F5717
secondary
#3E6BB4
accent
#80EC3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5717

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

Preview Lab → · Contrast checker → · Palette generator →

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