#7E866C#7E866C

#7E866C is a mid, muted yellow-green. Relative luminance 0.226; OKLCH L 60.6% C 0.039 H 121.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7E866C
RGBrgb(126, 134, 108)
HSLhsl(78, 11%, 47%)
HSVhsv(78, 19%, 53%)
CMYKcmyk(6%, 0%, 19.4%, 47.5%)
CIE-LABlab(54.63, -7.84, 13.04)
CIE-LCHlch(54.63, 15.21, 121.02°)
OKLaboklab(60.6% -0.0205 0.0334)
OKLCHoklch(60.6% 0.039 121.5)
XYZxyz(19.8357, 22.5685, 17.4956)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E866C #746C86
analogous
#86816C #7E866C #71866C
triadic
#7E866C #6C7E86 #866C7E
tetradic
#7E866C #6C8681 #746C86 #866C71
square
#7E866C #6C8681 #746C86 #866C71
split-complementary
#7E866C #6C7186 #816C86
monochromatic
#3E4235 #5E6451 #7E866C #9CA38C #B9BEAE

Accessibility & contrast

On white

3.81
#7E866C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7E866C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E866C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E866C#FFFFFF#000000##000000
##7E866C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89836A
Deuteranopia (green-blind)
#88836D
Tritanopia (blue-blind)
#80837F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e866c;
/* rgb */ color: rgb(126, 134, 108);
/* oklch */ color: oklch(60.6% 0.039 121.5);
Tailwind
colors: {
  custom: {
    50: '#a3a996',
    500: '#7e866c',
    950: '#000000',
  },
}
SCSS
$custom: #7e866c;
$custom-light: #a3a996;
$custom-dark: #000000;
JSON
{
  "hex": "#7e866c",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 108
  },
  "hsl": {
    "h": 78.462,
    "s": 10.744,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.03919,
    "h": 121.5
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#7E866C
secondary
#A4A0AE
accent
#74B488
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E866C

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

Preview Lab → · Contrast checker → · Palette generator →

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