#7F6015#7F6015

#7F6015 is a mid, moderate orange. Relative luminance 0.129; OKLCH L 50.8% C 0.096 H 84.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7F6015
RGBrgb(127, 96, 21)
HSLhsl(42, 72%, 29%)
HSVhsv(42, 83%, 50%)
CMYKcmyk(0%, 24.4%, 83.5%, 50.2%)
CIE-LABlab(42.66, 5.23, 44.17)
CIE-LCHlch(42.66, 44.48, 83.24°)
OKLaboklab(50.76% 0.0096 0.0954)
OKLCHoklch(50.76% 0.096 84.2)
XYZxyz(13.0715, 12.9329, 2.5172)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6015 #15347F
analogous
#7F2B15 #7F6015 #697F15
triadic
#7F6015 #157F60 #60157F
tetradic
#7F6015 #157F2B #15347F #7F1569
square
#7F6015 #157F2B #15347F #7F1569
split-complementary
#7F6015 #15697F #2B157F
monochromatic
#1A1404 #4A380C #7F6015 #B4881E #DDAB31

Accessibility & contrast

On white

5.86
#7F6015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F6015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6015
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6015#FFFFFF#000000##FFFFFF
##7F60151.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#756819
Tritanopia (blue-blind)
#8A5652
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f6015;
/* rgb */ color: rgb(127, 96, 21);
/* oklch */ color: oklch(50.8% 0.096 84.2);
Tailwind
colors: {
  custom: {
    50: '#a88c5a',
    500: '#7f6015',
    950: '#000000',
  },
}
SCSS
$custom: #7f6015;
$custom-light: #a88c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6015",
  "rgb": {
    "r": 127,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 42.453,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.09591,
    "h": 84.2
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#7F6015
secondary
#3C5FB4
accent
#6EEE39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6015

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

Preview Lab → · Contrast checker → · Palette generator →

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