#7F501B#7F501B

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

Color values

HEX#7F501B
RGBrgb(127, 80, 27)
HSLhsl(32, 65%, 30%)
HSVhsv(32, 79%, 50%)
CMYKcmyk(0%, 37%, 78.7%, 50.2%)
CIE-LABlab(38.43, 14.97, 37.70)
CIE-LCHlch(38.43, 40.56, 68.34°)
OKLaboklab(47.47% 0.0387 0.083)
OKLCHoklch(47.47% 0.092 65)
XYZxyz(11.8198, 10.3296, 2.4080)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F501B #1B4A7F
analogous
#7F1E1B #7F501B #7C7F1B
triadic
#7F501B #1B7F50 #501B7F
tetradic
#7F501B #1B7F1E #1B4A7F #7F1B7C
square
#7F501B #1B7F1E #1B4A7F #7F1B7C
split-complementary
#7F501B #1B7C7F #1E1B7F
monochromatic
#1A1006 #4D3010 #7F501B #B17026 #D68F3E

Accessibility & contrast

On white

6.85
#7F501B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F501B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F501B#FFFFFF#000000##FFFFFF
##7F501B1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#8B4545
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f501b;
/* rgb */ color: rgb(127, 80, 27);
/* oklch */ color: oklch(47.5% 0.092 65.0);
Tailwind
colors: {
  custom: {
    50: '#a9815b',
    500: '#7f501b',
    950: '#000000',
  },
}
SCSS
$custom: #7f501b;
$custom-light: #a9815b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f501b",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 31.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.0916,
    "h": 65
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#7F501B
secondary
#4378B3
accent
#8FE840
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #7F501B

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

Preview Lab → · Contrast checker → · Palette generator →

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