#7F5217#7F5217

#7F5217 is a mid, moderate orange. Relative luminance 0.106; OKLCH L 47.8% C 0.093 H 68.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F5217
RGBrgb(127, 82, 23)
HSLhsl(34, 69%, 29%)
HSVhsv(34, 82%, 50%)
CMYKcmyk(0%, 35.4%, 81.9%, 50.2%)
CIE-LABlab(38.91, 13.61, 39.96)
CIE-LCHlch(38.91, 42.21, 71.19°)
OKLaboklab(47.84% 0.0342 0.0868)
OKLCHoklch(47.84% 0.093 68.5)
XYZxyz(11.9253, 10.6096, 2.2303)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5217 #17447F
analogous
#7F1E17 #7F5217 #787F17
triadic
#7F5217 #177F52 #52177F
tetradic
#7F5217 #177F1E #17447F #7F1778
square
#7F5217 #177F1E #17447F #7F1778
split-complementary
#7F5217 #17787F #1E177F
monochromatic
#1A1105 #4B310E #7F5217 #B37320 #DB9336

Accessibility & contrast

On white

6.73
#7F5217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F5217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5217
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5217#FFFFFF#000000##FFFFFF
##7F52171.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#6C6018
Tritanopia (blue-blind)
#8B4746
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f5217;
/* rgb */ color: rgb(127, 82, 23);
/* oklch */ color: oklch(47.8% 0.093 68.5);
Tailwind
colors: {
  custom: {
    50: '#a98259',
    500: '#7f5217',
    950: '#000000',
  },
}
SCSS
$custom: #7f5217;
$custom-light: #a98259;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5217",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 34.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.09331,
    "h": 68.5
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#7F5217
secondary
#3E71B4
accent
#88EC3C
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #7F5217

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

Preview Lab → · Contrast checker → · Palette generator →

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