#7F5F17#7F5F17

#7F5F17 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.6% C 0.095 H 82.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F5F17
RGBrgb(127, 95, 23)
HSLhsl(42, 69%, 29%)
HSVhsv(42, 82%, 50%)
CMYKcmyk(0%, 25.2%, 81.9%, 50.2%)
CIE-LABlab(42.40, 5.90, 43.18)
CIE-LCHlch(42.40, 43.58, 82.22°)
OKLaboklab(50.56% 0.0118 0.0938)
OKLCHoklch(50.56% 0.095 82.9)
XYZxyz(13.0001, 12.7593, 2.5885)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5F17 #17377F
analogous
#7F2B17 #7F5F17 #6B7F17
triadic
#7F5F17 #177F5F #5F177F
tetradic
#7F5F17 #177F2B #17377F #7F176B
square
#7F5F17 #177F2B #17377F #7F176B
split-complementary
#7F5F17 #176B7F #2B177F
monochromatic
#1A1305 #4B380E #7F5F17 #B38620 #DBA836

Accessibility & contrast

On white

5.91
#7F5F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F5F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F5F17
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5F17#FFFFFF#000000##FFFFFF
##7F5F171.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#8A5551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f5f17;
/* rgb */ color: rgb(127, 95, 23);
/* oklch */ color: oklch(50.6% 0.095 82.9);
Tailwind
colors: {
  custom: {
    50: '#a88c5b',
    500: '#7f5f17',
    950: '#000000',
  },
}
SCSS
$custom: #7f5f17;
$custom-light: #a88c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5f17",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 41.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.09451,
    "h": 82.9
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#7F5F17
secondary
#3E62B4
accent
#72EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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