#7F5221#7F5221

#7F5221 is a mid, moderate orange. Relative luminance 0.107; OKLCH L 47.9% C 0.088 H 65.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7F5221
RGBrgb(127, 82, 33)
HSLhsl(31, 59%, 31%)
HSVhsv(31, 74%, 50%)
CMYKcmyk(0%, 35.4%, 74%, 50.2%)
CIE-LABlab(39.00, 14.09, 35.36)
CIE-LCHlch(39.00, 38.07, 68.28°)
OKLaboklab(47.93% 0.037 0.0794)
OKLCHoklch(47.93% 0.088 65)
XYZxyz(12.0451, 10.6575, 2.8613)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5221 #214E7F
analogous
#7F2321 #7F5221 #7D7F21
triadic
#7F5221 #217F52 #52217F
tetradic
#7F5221 #217F23 #214E7F #7F217D
square
#7F5221 #217F23 #214E7F #7F217D
split-complementary
#7F5221 #217D7F #23217F
monochromatic
#1E1308 #4E3314 #7F5221 #B0712E #D0904A

Accessibility & contrast

On white

6.71
#7F5221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7F5221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5221
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5221#FFFFFF#000000##FFFFFF
##7F52211.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561B
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#8B4848
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f5221;
/* rgb */ color: rgb(127, 82, 33);
/* oklch */ color: oklch(47.9% 0.088 65.0);
Tailwind
colors: {
  custom: {
    50: '#a8825f',
    500: '#7f5221',
    950: '#000000',
  },
}
SCSS
$custom: #7f5221;
$custom-light: #a8825f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5221",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 31.277,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.08759,
    "h": 65
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#7F5221
secondary
#4A7CB2
accent
#91E246
background
#FAF7F5
surface
#F4EEE9
border
#CEC9C5
text
#100A05
muted
#7F7C79

Preview Lab

Preview with #7F5221

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

Preview Lab → · Contrast checker → · Palette generator →

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