#7F5A17#7F5A17

#7F5A17 is a mid, moderate orange. Relative luminance 0.119; OKLCH L 49.5% C 0.093 H 77.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F5A17
RGBrgb(127, 90, 23)
HSLhsl(39, 69%, 29%)
HSVhsv(39, 82%, 50%)
CMYKcmyk(0%, 29.1%, 81.9%, 50.2%)
CIE-LABlab(41.04, 8.86, 41.93)
CIE-LCHlch(41.04, 42.85, 78.07°)
OKLaboklab(49.49% 0.0203 0.0911)
OKLCHoklch(49.49% 0.093 77.4)
XYZxyz(12.5641, 11.8873, 2.4432)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5A17 #173C7F
analogous
#7F2617 #7F5A17 #707F17
triadic
#7F5A17 #177F5A #5A177F
tetradic
#7F5A17 #177F26 #173C7F #7F1770
square
#7F5A17 #177F26 #173C7F #7F1770
split-complementary
#7F5A17 #17707F #26177F
monochromatic
#1A1205 #4B350E #7F5A17 #B37F20 #DBA036

Accessibility & contrast

On white

6.22
#7F5A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7F5A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5A17
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5A17#FFFFFF#000000##FFFFFF
##7F5A171.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#71641A
Tritanopia (blue-blind)
#8B504D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f5a17;
/* rgb */ color: rgb(127, 90, 23);
/* oklch */ color: oklch(49.5% 0.093 77.4);
Tailwind
colors: {
  custom: {
    50: '#a8885a',
    500: '#7f5a17',
    950: '#000000',
  },
}
SCSS
$custom: #7f5a17;
$custom-light: #a8885a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5a17",
  "rgb": {
    "r": 127,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 38.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.09331,
    "h": 77.4
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#7F5A17
secondary
#3E68B4
accent
#7AEC3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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