#7F5121#7F5121

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

Color values

HEX#7F5121
RGBrgb(127, 81, 33)
HSLhsl(31, 59%, 31%)
HSVhsv(31, 74%, 50%)
CMYKcmyk(0%, 36.2%, 74%, 50.2%)
CIE-LABlab(38.74, 14.68, 35.09)
CIE-LCHlch(38.74, 38.04, 67.30°)
OKLaboklab(47.73% 0.0388 0.0788)
OKLCHoklch(47.73% 0.088 63.8)
XYZxyz(11.9702, 10.5078, 2.8363)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5121 #214F7F
analogous
#7F2221 #7F5121 #7E7F21
triadic
#7F5121 #217F51 #51217F
tetradic
#7F5121 #217F22 #214F7F #7F217E
square
#7F5121 #217F22 #214F7F #7F217E
split-complementary
#7F5121 #217E7F #22217F
monochromatic
#1E1308 #4E3214 #7F5121 #B0702E #D08F4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F5121#FFFFFF#000000##FFFFFF
##7F51211.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)
#60551B
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#8B4747
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f5121;
/* rgb */ color: rgb(127, 81, 33);
/* oklch */ color: oklch(47.7% 0.088 63.8);
Tailwind
colors: {
  custom: {
    50: '#a8825f',
    500: '#7f5121',
    950: '#000000',
  },
}
SCSS
$custom: #7f5121;
$custom-light: #a8825f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5121",
  "rgb": {
    "r": 127,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 30.638,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.08783,
    "h": 63.8
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#7F5121
secondary
#4A7DB2
accent
#92E246
background
#FAF7F5
surface
#F4EEE9
border
#CEC9C5
text
#100A05
muted
#7F7C79

Preview Lab

Preview with #7F5121

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

Preview Lab → · Contrast checker → · Palette generator →

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