#7F5218#7F5218

#7F5218 is a mid, moderate orange. Relative luminance 0.106; OKLCH L 47.8% C 0.093 H 68.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7F5218
RGBrgb(127, 82, 24)
HSLhsl(34, 68%, 30%)
HSVhsv(34, 81%, 50%)
CMYKcmyk(0%, 35.4%, 81.1%, 50.2%)
CIE-LABlab(38.92, 13.65, 39.54)
CIE-LCHlch(38.92, 41.83, 70.95°)
OKLaboklab(47.85% 0.0344 0.0862)
OKLCHoklch(47.85% 0.093 68.2)
XYZxyz(11.9355, 10.6137, 2.2840)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5218 #18457F
analogous
#7F1E18 #7F5218 #797F18
triadic
#7F5218 #187F52 #52187F
tetradic
#7F5218 #187F1E #18457F #7F1879
square
#7F5218 #187F1E #18457F #7F1879
split-complementary
#7F5218 #18797F #1E187F
monochromatic
#1A1105 #4C310E #7F5218 #B27322 #D99338

Accessibility & contrast

On white

6.73
#7F5218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7F5218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5218
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5218#FFFFFF#000000##FFFFFF
##7F52181.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#8B4746
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f5218;
/* rgb */ color: rgb(127, 82, 24);
/* oklch */ color: oklch(47.8% 0.093 68.2);
Tailwind
colors: {
  custom: {
    50: '#a9825a',
    500: '#7f5218',
    950: '#000000',
  },
}
SCSS
$custom: #7f5218;
$custom-light: #a9825a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5218",
  "rgb": {
    "r": 127,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 33.786,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.0928,
    "h": 68.2
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#7F5218
secondary
#3F72B3
accent
#89EB3D
background
#FAF7F5
surface
#F5EEE9
border
#CFC9C5
text
#110A04
muted
#807C79

Preview Lab

Preview with #7F5218

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

Preview Lab → · Contrast checker → · Palette generator →

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