#7F6217#7F6217

#7F6217 is a mid, moderate orange. Relative luminance 0.133; OKLCH L 51.2% C 0.096 H 86.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7F6217
RGBrgb(127, 98, 23)
HSLhsl(43, 69%, 29%)
HSVhsv(43, 82%, 50%)
CMYKcmyk(0%, 22.8%, 81.9%, 50.2%)
CIE-LABlab(43.23, 4.13, 43.94)
CIE-LCHlch(43.23, 44.13, 84.62°)
OKLaboklab(51.21% 0.0067 0.0954)
OKLCHoklch(51.21% 0.096 86)
XYZxyz(13.2756, 13.3102, 2.6804)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6217 #17347F
analogous
#7F2E17 #7F6217 #687F17
triadic
#7F6217 #177F62 #62177F
tetradic
#7F6217 #177F2E #17347F #7F1768
square
#7F6217 #177F2E #17347F #7F1768
split-complementary
#7F6217 #17687F #2E177F
monochromatic
#1A1405 #4B3A0E #7F6217 #B38A20 #DBAD36

Accessibility & contrast

On white

5.73
#7F6217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F6217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6217
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6217#FFFFFF#000000##FFFFFF
##7F62171.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#8A5854
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f6217;
/* rgb */ color: rgb(127, 98, 23);
/* oklch */ color: oklch(51.2% 0.096 86.0);
Tailwind
colors: {
  custom: {
    50: '#a88e5b',
    500: '#7f6217',
    950: '#000000',
  },
}
SCSS
$custom: #7f6217;
$custom-light: #a88e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6217",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 43.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.09564,
    "h": 86
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#7F6217
secondary
#3E5FB4
accent
#6DEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6217

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

Preview Lab → · Contrast checker → · Palette generator →

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