#7F520F#7F520F

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

Color values

HEX#7F520F
RGBrgb(127, 82, 15)
HSLhsl(36, 79%, 28%)
HSVhsv(36, 88%, 50%)
CMYKcmyk(0%, 35.4%, 88.2%, 50.2%)
CIE-LABlab(38.87, 13.33, 43.00)
CIE-LCHlch(38.87, 45.02, 72.77°)
OKLaboklab(47.79% 0.0324 0.0913)
OKLCHoklch(47.79% 0.097 70.5)
XYZxyz(11.8569, 10.5822, 1.8700)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F520F #0F3C7F
analogous
#7F1A0F #7F520F #747F0F
triadic
#7F520F #0F7F52 #520F7F
tetradic
#7F520F #0F7F1A #0F3C7F #7F0F74
square
#7F520F #0F7F1A #0F3C7F #7F0F74
split-complementary
#7F520F #0F747F #1A0F7F
monochromatic
#1B1203 #482F09 #7F520F #B67515 #E59723

Accessibility & contrast

On white

6.74
#7F520F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F520F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F520F#FFFFFF#000000##FFFFFF
##7F520F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#6C6011
Tritanopia (blue-blind)
#8B4746
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f520f;
/* rgb */ color: rgb(127, 82, 15);
/* oklch */ color: oklch(47.8% 0.097 70.5);
Tailwind
colors: {
  custom: {
    50: '#a98255',
    500: '#7f520f',
    950: '#000000',
  },
}
SCSS
$custom: #7f520f;
$custom-light: #a98255;
$custom-dark: #000000;
JSON
{
  "hex": "#7f520f",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 35.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.09688,
    "h": 70.5
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#7F520F
secondary
#3468B5
accent
#81F532
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7F520F

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

Preview Lab → · Contrast checker → · Palette generator →

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