#7F5817#7F5817

#7F5817 is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.1% C 0.093 H 75.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7F5817
RGBrgb(127, 88, 23)
HSLhsl(38, 69%, 29%)
HSVhsv(38, 82%, 50%)
CMYKcmyk(0%, 30.7%, 81.9%, 50.2%)
CIE-LABlab(40.50, 10.04, 41.43)
CIE-LCHlch(40.50, 42.63, 76.37°)
OKLaboklab(49.07% 0.0237 0.09)
OKLCHoklch(49.07% 0.093 75.2)
XYZxyz(12.3977, 11.5544, 2.3877)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5817 #173E7F
analogous
#7F2417 #7F5817 #727F17
triadic
#7F5817 #177F58 #58177F
tetradic
#7F5817 #177F24 #173E7F #7F1772
square
#7F5817 #177F24 #173E7F #7F1772
split-complementary
#7F5817 #17727F #24177F
monochromatic
#1A1205 #4B340E #7F5817 #B37C20 #DB9D36

Accessibility & contrast

On white

6.34
#7F5817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F5817
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5817#FFFFFF#000000##FFFFFF
##7F58171.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#8B4E4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f5817;
/* rgb */ color: rgb(127, 88, 23);
/* oklch */ color: oklch(49.1% 0.093 75.2);
Tailwind
colors: {
  custom: {
    50: '#a9875a',
    500: '#7f5817',
    950: '#000000',
  },
}
SCSS
$custom: #7f5817;
$custom-light: #a9875a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5817",
  "rgb": {
    "r": 127,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 37.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.09309,
    "h": 75.2
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#7F5817
secondary
#3E6AB4
accent
#7EEC3C
background
#FAF8F5
surface
#F4EFE9
border
#CECAC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5817

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

Preview Lab → · Contrast checker → · Palette generator →

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