#7F512F#7F512F

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

Color values

HEX#7F512F
RGBrgb(127, 81, 47)
HSLhsl(26, 46%, 34%)
HSVhsv(26, 63%, 50%)
CMYKcmyk(0%, 36.2%, 63%, 50.2%)
CIE-LABlab(38.90, 15.62, 27.67)
CIE-LCHlch(38.90, 31.77, 60.55°)
OKLaboklab(47.91% 0.0439 0.0651)
OKLCHoklch(47.91% 0.079 56)
XYZxyz(12.2087, 10.6032, 4.0924)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F512F #2F5D7F
analogous
#7F2F35 #7F512F #7F792F
triadic
#7F512F #2F7F51 #512F7F
tetradic
#7F512F #357F2F #2F5D7F #792F7F
square
#7F512F #357F2F #2F5D7F #792F7F
split-complementary
#7F512F #2F7F79 #2F357F
monochromatic
#26180E #52351E #7F512F #AC6D40 #C58D63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F512F#FFFFFF#000000##FFFFFF
##7F512F1.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)
#5E552C
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#8A4849
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f512f;
/* rgb */ color: rgb(127, 81, 47);
/* oklch */ color: oklch(47.9% 0.079 56.0);
Tailwind
colors: {
  custom: {
    50: '#a78268',
    500: '#7f512f',
    950: '#000000',
  },
}
SCSS
$custom: #7f512f;
$custom-light: #a78268;
$custom-dark: #000000;
JSON
{
  "hex": "#7f512f",
  "rgb": {
    "r": 127,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 25.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.0785,
    "h": 56
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#7F512F
secondary
#5E8BAC
accent
#9ED652
background
#FAF7F6
surface
#F4EEEB
border
#CEC9C6
text
#100A06
muted
#7F7C7A

Preview Lab

Preview with #7F512F

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

Preview Lab → · Contrast checker → · Palette generator →

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