#7F5E17#7F5E17

#7F5E17 is a mid, moderate orange. Relative luminance 0.126; OKLCH L 50.3% C 0.094 H 81.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7F5E17
RGBrgb(127, 94, 23)
HSLhsl(41, 69%, 29%)
HSVhsv(41, 82%, 50%)
CMYKcmyk(0%, 26%, 81.9%, 50.2%)
CIE-LABlab(42.12, 6.49, 42.93)
CIE-LCHlch(42.12, 43.42, 81.40°)
OKLaboklab(50.35% 0.0135 0.0932)
OKLCHoklch(50.35% 0.094 81.8)
XYZxyz(12.9106, 12.5803, 2.5587)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5E17 #17387F
analogous
#7F2A17 #7F5E17 #6C7F17
triadic
#7F5E17 #177F5E #5E177F
tetradic
#7F5E17 #177F2A #17387F #7F176C
square
#7F5E17 #177F2A #17387F #7F176C
split-complementary
#7F5E17 #176C7F #2A177F
monochromatic
#1A1305 #4B380E #7F5E17 #B38420 #DBA636

Accessibility & contrast

On white

5.97
#7F5E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7F5E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5E17
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5E17#FFFFFF#000000##FFFFFF
##7F5E171.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#73671A
Tritanopia (blue-blind)
#8B5450
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f5e17;
/* rgb */ color: rgb(127, 94, 23);
/* oklch */ color: oklch(50.3% 0.094 81.8);
Tailwind
colors: {
  custom: {
    50: '#a88b5a',
    500: '#7f5e17',
    950: '#000000',
  },
}
SCSS
$custom: #7f5e17;
$custom-light: #a88b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5e17",
  "rgb": {
    "r": 127,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 40.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.09421,
    "h": 81.8
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#7F5E17
secondary
#3E63B4
accent
#74EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100B04
muted
#7F7C79

Preview Lab

Preview with #7F5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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