#7F4817#7F4817

#7F4817 is a mid, moderate orange. Relative luminance 0.092; OKLCH L 45.9% C 0.097 H 57.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7F4817
RGBrgb(127, 72, 23)
HSLhsl(28, 69%, 29%)
HSVhsv(28, 82%, 50%)
CMYKcmyk(0%, 43.3%, 81.9%, 50.2%)
CIE-LABlab(36.39, 19.52, 37.58)
CIE-LCHlch(36.39, 42.34, 62.55°)
OKLaboklab(45.88% 0.0516 0.0817)
OKLCHoklch(45.88% 0.097 57.7)
XYZxyz(11.2254, 9.2098, 1.9970)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4817 #174E7F
analogous
#7F171A #7F4817 #7F7C17
triadic
#7F4817 #177F48 #48177F
tetradic
#7F4817 #1A7F17 #174E7F #7C177F
square
#7F4817 #1A7F17 #174E7F #7C177F
split-complementary
#7F4817 #177F7C #171A7F
monochromatic
#1A0F05 #4B2B0E #7F4817 #B36520 #DB8336

Accessibility & contrast

On white

7.39
#7F4817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7F4817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4817
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4817#FFFFFF#000000##FFFFFF
##7F48171.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#8B3C3E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f4817;
/* rgb */ color: rgb(127, 72, 23);
/* oklch */ color: oklch(45.9% 0.097 57.7);
Tailwind
colors: {
  custom: {
    50: '#a97b58',
    500: '#7f4817',
    950: '#000000',
  },
}
SCSS
$custom: #7f4817;
$custom-light: #a97b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4817",
  "rgb": {
    "r": 127,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 28.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.09662,
    "h": 57.7
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#7F4817
secondary
#3E7CB4
accent
#99EC3C
background
#FBF7F5
surface
#F6EEE9
border
#D0C9C5
text
#110903
muted
#807B78

Preview Lab

Preview with #7F4817

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

Preview Lab → · Contrast checker → · Palette generator →

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