#7E520F#7E520F

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

Color values

HEX#7E520F
RGBrgb(126, 82, 15)
HSLhsl(36, 79%, 28%)
HSVhsv(36, 88%, 49%)
CMYKcmyk(0%, 34.9%, 88.1%, 50.6%)
CIE-LABlab(38.74, 12.86, 42.83)
CIE-LCHlch(38.74, 44.72, 73.29°)
OKLaboklab(47.66% 0.0311 0.091)
OKLCHoklch(47.66% 0.096 71.2)
XYZxyz(11.7086, 10.5058, 1.8630)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E520F #0F3B7E
analogous
#7E1A0F #7E520F #727E0F
triadic
#7E520F #0F7E52 #520F7E
tetradic
#7E520F #0F7E1A #0F3B7E #7E0F72
square
#7E520F #0F7E1A #0F3B7E #7E0F72
split-complementary
#7E520F #0F727E #1A0F7E
monochromatic
#1B1203 #472E08 #7E520F #B57616 #E59823

Accessibility & contrast

On white

6.77
#7E520F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E520F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E520F#FFFFFF#000000##FFFFFF
##7E520F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#6B5F11
Tritanopia (blue-blind)
#8A4746
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e520f;
/* rgb */ color: rgb(126, 82, 15);
/* oklch */ color: oklch(47.7% 0.096 71.2);
Tailwind
colors: {
  custom: {
    50: '#a88255',
    500: '#7e520f',
    950: '#000000',
  },
}
SCSS
$custom: #7e520f;
$custom-light: #a88255;
$custom-dark: #000000;
JSON
{
  "hex": "#7e520f",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 36.216,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.09619,
    "h": 71.2
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#7E520F
secondary
#3467B5
accent
#80F533
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A03
muted
#807C78

Preview Lab

Preview with #7E520F

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

Preview Lab → · Contrast checker → · Palette generator →

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