#7E661F#7E661F

#7E661F is a mid, moderate orange. Relative luminance 0.140; OKLCH L 52.0% C 0.092 H 89.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E661F
RGBrgb(126, 102, 31)
HSLhsl(45, 61%, 31%)
HSVhsv(45, 75%, 49%)
CMYKcmyk(0%, 19%, 75.4%, 50.6%)
CIE-LABlab(44.29, 1.68, 41.66)
CIE-LCHlch(44.29, 41.69, 87.69°)
OKLaboklab(52.04% 0.0007 0.0924)
OKLCHoklch(52.04% 0.092 89.6)
XYZxyz(13.6037, 14.0381, 3.2892)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E661F #1F377E
analogous
#7E361F #7E661F #667E1F
triadic
#7E661F #1F7E66 #661F7E
tetradic
#7E661F #1F7E36 #1F377E #7E1F66
square
#7E661F #1F7E36 #1F377E #7E1F66
split-complementary
#7E661F #1F667E #361F7E
monochromatic
#1C1607 #4D3E13 #7E661F #AF8E2B #D1AE46

Accessibility & contrast

On white

5.52
#7E661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7E661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E661F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E661F#FFFFFF#000000##FFFFFF
##7E661F1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#895D58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e661f;
/* rgb */ color: rgb(126, 102, 31);
/* oklch */ color: oklch(52.0% 0.092 89.6);
Tailwind
colors: {
  custom: {
    50: '#a79160',
    500: '#7e661f',
    950: '#000000',
  },
}
SCSS
$custom: #7e661f;
$custom-light: #a79160;
$custom-dark: #000000;
JSON
{
  "hex": "#7e661f",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 44.842,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.09238,
    "h": 89.6
  },
  "luminance": 0.14037
}

Semantic roles & 50–950 ramp

primary
#7E661F
secondary
#4862B1
accent
#6CE444
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E661F

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

Preview Lab → · Contrast checker → · Palette generator →

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