#7F4222#7F4222

#7F4222 is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.9% C 0.095 H 46.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7F4222
RGBrgb(127, 66, 34)
HSLhsl(21, 58%, 32%)
HSVhsv(21, 73%, 50%)
CMYKcmyk(0%, 48%, 73.2%, 50.2%)
CIE-LABlab(35.05, 23.53, 30.58)
CIE-LCHlch(35.05, 38.59, 52.42°)
OKLaboklab(44.89% 0.0655 0.0694)
OKLCHoklch(44.89% 0.095 46.6)
XYZxyz(10.9903, 8.5252, 2.5798)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4222 #225F7F
analogous
#7F2231 #7F4222 #7F7122
triadic
#7F4222 #227F42 #42227F
tetradic
#7F4222 #317F22 #225F7F #71227F
square
#7F4222 #317F22 #225F7F #71227F
split-complementary
#7F4222 #227F71 #22317F
monochromatic
#1E1008 #4F2915 #7F4222 #AF5B2F #CF794C

Accessibility & contrast

On white

7.76
#7F4222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F4222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4222
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4222#FFFFFF#000000##FFFFFF
##7F42221.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#8B363B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f4222;
/* rgb */ color: rgb(127, 66, 34);
/* oklch */ color: oklch(44.9% 0.095 46.6);
Tailwind
colors: {
  custom: {
    50: '#a9775e',
    500: '#7f4222',
    950: '#000000',
  },
}
SCSS
$custom: #7f4222;
$custom-light: #a9775e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4222",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 20.645,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.0954,
    "h": 46.6
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#7F4222
secondary
#4B8EB2
accent
#ACE147
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7F4222

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

Preview Lab → · Contrast checker → · Palette generator →

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