#7F4020#7F4020

#7F4020 is a dark, moderate orange. Relative luminance 0.083; OKLCH L 44.5% C 0.098 H 45.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7F4020
RGBrgb(127, 64, 32)
HSLhsl(20, 60%, 31%)
HSVhsv(20, 75%, 50%)
CMYKcmyk(0%, 49.6%, 74.8%, 50.2%)
CIE-LABlab(34.57, 24.56, 31.16)
CIE-LCHlch(34.57, 39.68, 51.75°)
OKLaboklab(44.51% 0.0683 0.0702)
OKLCHoklch(44.51% 0.098 45.8)
XYZxyz(10.8475, 8.2844, 2.3940)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4020 #205F7F
analogous
#7F202F #7F4020 #7F6F20
triadic
#7F4020 #207F40 #40207F
tetradic
#7F4020 #2F7F20 #205F7F #6F207F
square
#7F4020 #2F7F20 #205F7F #6F207F
split-complementary
#7F4020 #207F6F #202F7F
monochromatic
#1D0F07 #4E2714 #7F4020 #B0592C #D17648

Accessibility & contrast

On white

7.90
#7F4020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7F4020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4020
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4020#FFFFFF#000000##FFFFFF
##7F40201.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#8B3339
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f4020;
/* rgb */ color: rgb(127, 64, 32);
/* oklch */ color: oklch(44.5% 0.098 45.8);
Tailwind
colors: {
  custom: {
    50: '#a9765d',
    500: '#7f4020',
    950: '#000000',
  },
}
SCSS
$custom: #7f4020;
$custom-light: #a9765d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4020",
  "rgb": {
    "r": 127,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 20.211,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.0979,
    "h": 45.8
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#7F4020
secondary
#498FB2
accent
#AEE345
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7F4020

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

Preview Lab → · Contrast checker → · Palette generator →

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