#7F511F#7F511F

#7F511F is a mid, moderate orange. Relative luminance 0.105; OKLCH L 47.7% C 0.089 H 64.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7F511F
RGBrgb(127, 81, 31)
HSLhsl(31, 61%, 31%)
HSVhsv(31, 76%, 50%)
CMYKcmyk(0%, 36.2%, 75.6%, 50.2%)
CIE-LABlab(38.72, 14.57, 36.07)
CIE-LCHlch(38.72, 38.90, 68.00°)
OKLaboklab(47.71% 0.0382 0.0805)
OKLCHoklch(47.71% 0.089 64.6)
XYZxyz(11.9431, 10.4969, 2.6932)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F511F #1F4D7F
analogous
#7F211F #7F511F #7D7F1F
triadic
#7F511F #1F7F51 #511F7F
tetradic
#7F511F #1F7F21 #1F4D7F #7F1F7D
square
#7F511F #1F7F21 #1F4D7F #7F1F7D
split-complementary
#7F511F #1F7D7F #211F7F
monochromatic
#1D1207 #4E3213 #7F511F #B0702B #D28F46

Accessibility & contrast

On white

6.78
#7F511F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7F511F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F511F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F511F#FFFFFF#000000##FFFFFF
##7F511F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#8B4646
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f511f;
/* rgb */ color: rgb(127, 81, 31);
/* oklch */ color: oklch(47.7% 0.089 64.6);
Tailwind
colors: {
  custom: {
    50: '#a8825e',
    500: '#7f511f',
    950: '#000000',
  },
}
SCSS
$custom: #7f511f;
$custom-light: #a8825e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f511f",
  "rgb": {
    "r": 127,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 31.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.08906,
    "h": 64.6
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#7F511F
secondary
#487BB2
accent
#91E444
background
#FAF7F5
surface
#F4EEE9
border
#CEC9C5
text
#100A04
muted
#7F7C79

Preview Lab

Preview with #7F511F

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

Preview Lab → · Contrast checker → · Palette generator →

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