#7F501F#7F501F

#7F501F is a mid, moderate orange. Relative luminance 0.103; OKLCH L 47.5% C 0.089 H 63.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7F501F
RGBrgb(127, 80, 31)
HSLhsl(31, 61%, 31%)
HSVhsv(31, 76%, 50%)
CMYKcmyk(0%, 37%, 75.6%, 50.2%)
CIE-LABlab(38.46, 15.17, 35.81)
CIE-LCHlch(38.46, 38.89, 67.04°)
OKLaboklab(47.51% 0.0399 0.0799)
OKLCHoklch(47.51% 0.089 63.5)
XYZxyz(11.8693, 10.3494, 2.6686)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F501F #1F4E7F
analogous
#7F201F #7F501F #7E7F1F
triadic
#7F501F #1F7F50 #501F7F
tetradic
#7F501F #1F7F20 #1F4E7F #7F1F7E
square
#7F501F #1F7F20 #1F4E7F #7F1F7E
split-complementary
#7F501F #1F7E7F #201F7F
monochromatic
#1D1207 #4E3113 #7F501F #B06F2B #D28E46

Accessibility & contrast

On white

6.84
#7F501F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7F501F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F501F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F501F#FFFFFF#000000##FFFFFF
##7F501F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5419
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#8B4546
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f501f;
/* rgb */ color: rgb(127, 80, 31);
/* oklch */ color: oklch(47.5% 0.089 63.5);
Tailwind
colors: {
  custom: {
    50: '#a9815d',
    500: '#7f501f',
    950: '#000000',
  },
}
SCSS
$custom: #7f501f;
$custom-light: #a9815d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f501f",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 30.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.08931,
    "h": 63.5
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#7F501F
secondary
#487CB2
accent
#92E444
background
#FAF7F5
surface
#F4EEE9
border
#CEC9C5
text
#100A04
muted
#7F7C79

Preview Lab

Preview with #7F501F

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

Preview Lab → · Contrast checker → · Palette generator →

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