#7F5F15#7F5F15

#7F5F15 is a mid, moderate orange. Relative luminance 0.128; OKLCH L 50.5% C 0.096 H 83.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7F5F15
RGBrgb(127, 95, 21)
HSLhsl(42, 72%, 29%)
HSVhsv(42, 83%, 50%)
CMYKcmyk(0%, 25.2%, 83.5%, 50.2%)
CIE-LABlab(42.39, 5.82, 43.92)
CIE-LCHlch(42.39, 44.31, 82.45°)
OKLaboklab(50.55% 0.0113 0.0949)
OKLCHoklch(50.55% 0.096 83.2)
XYZxyz(12.9808, 12.7516, 2.4869)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F5F15 #15357F
analogous
#7F2A15 #7F5F15 #6A7F15
triadic
#7F5F15 #157F5F #5F157F
tetradic
#7F5F15 #157F2A #15357F #7F156A
square
#7F5F15 #157F2A #15357F #7F156A
split-complementary
#7F5F15 #156A7F #2A157F
monochromatic
#1A1404 #4A380C #7F5F15 #B4861E #DDA931

Accessibility & contrast

On white

5.92
#7F5F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F5F15
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F5F15#FFFFFF#000000##FFFFFF
##7F5F151.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#746719
Tritanopia (blue-blind)
#8B5551
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f5f15;
/* rgb */ color: rgb(127, 95, 21);
/* oklch */ color: oklch(50.5% 0.096 83.2);
Tailwind
colors: {
  custom: {
    50: '#a88c5a',
    500: '#7f5f15',
    950: '#000000',
  },
}
SCSS
$custom: #7f5f15;
$custom-light: #a88c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f5f15",
  "rgb": {
    "r": 127,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 41.887,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.09557,
    "h": 83.2
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#7F5F15
secondary
#3C60B4
accent
#70EE39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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