#7F4217#7F4217

#7F4217 is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.8% C 0.100 H 51.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7F4217
RGBrgb(127, 66, 23)
HSLhsl(25, 69%, 29%)
HSVhsv(25, 82%, 50%)
CMYKcmyk(0%, 48%, 81.9%, 50.2%)
CIE-LABlab(34.95, 23.00, 36.20)
CIE-LCHlch(34.95, 42.89, 57.57°)
OKLaboklab(44.77% 0.062 0.0787)
OKLCHoklch(44.77% 0.1 51.8)
XYZxyz(10.8563, 8.4716, 1.8739)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4217 #17547F
analogous
#7F1720 #7F4217 #7F7617
triadic
#7F4217 #177F42 #42177F
tetradic
#7F4217 #207F17 #17547F #76177F
square
#7F4217 #207F17 #17547F #76177F
split-complementary
#7F4217 #177F76 #17207F
monochromatic
#1A0D05 #4B270E #7F4217 #B35D20 #DB7A36

Accessibility & contrast

On white

7.80
#7F4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7F4217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F4217
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4217#FFFFFF#000000##FFFFFF
##7F42171.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#625816
Tritanopia (blue-blind)
#8C3539
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f4217;
/* rgb */ color: rgb(127, 66, 23);
/* oklch */ color: oklch(44.8% 0.100 51.8);
Tailwind
colors: {
  custom: {
    50: '#aa7757',
    500: '#7f4217',
    950: '#000000',
  },
}
SCSS
$custom: #7f4217;
$custom-light: #aa7757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4217",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 24.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.1002,
    "h": 51.8
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#7F4217
secondary
#3E83B4
accent
#A3EC3C
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110803
muted
#807B78

Preview Lab

Preview with #7F4217

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

Preview Lab → · Contrast checker → · Palette generator →

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