#7F661F#7F661F

#7F661F is a mid, moderate orange. Relative luminance 0.141; OKLCH L 52.1% C 0.093 H 88.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F661F
RGBrgb(127, 102, 31)
HSLhsl(44, 61%, 31%)
HSVhsv(44, 76%, 50%)
CMYKcmyk(0%, 19.7%, 75.6%, 50.2%)
CIE-LABlab(44.40, 2.16, 41.80)
CIE-LCHlch(44.40, 41.86, 87.04°)
OKLaboklab(52.15% 0.002 0.0927)
OKLCHoklch(52.15% 0.093 88.8)
XYZxyz(13.7519, 14.1146, 3.2961)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F661F #1F387F
analogous
#7F361F #7F661F #687F1F
triadic
#7F661F #1F7F66 #661F7F
tetradic
#7F661F #1F7F36 #1F387F #7F1F68
square
#7F661F #1F7F36 #1F387F #7F1F68
split-complementary
#7F661F #1F687F #361F7F
monochromatic
#1D1707 #4E3E13 #7F661F #B08E2B #D2AE46

Accessibility & contrast

On white

5.49
#7F661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7F661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F661F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F661F#FFFFFF#000000##FFFFFF
##7F661F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#8A5D58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f661f;
/* rgb */ color: rgb(127, 102, 31);
/* oklch */ color: oklch(52.1% 0.093 88.8);
Tailwind
colors: {
  custom: {
    50: '#a89160',
    500: '#7f661f',
    950: '#000000',
  },
}
SCSS
$custom: #7f661f;
$custom-light: #a89160;
$custom-dark: #000000;
JSON
{
  "hex": "#7f661f",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 44.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.09267,
    "h": 88.8
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#7F661F
secondary
#4863B2
accent
#6EE444
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7F661F

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

Preview Lab → · Contrast checker → · Palette generator →

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