#7E866E#7E866E

#7E866E is a mid, muted yellow-green. Relative luminance 0.226; OKLCH L 60.7% C 0.036 H 122.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E866E
RGBrgb(126, 134, 110)
HSLhsl(80, 10%, 48%)
HSVhsv(80, 18%, 53%)
CMYKcmyk(6%, 0%, 17.9%, 47.5%)
CIE-LABlab(54.67, -7.50, 11.95)
CIE-LCHlch(54.67, 14.11, 122.10°)
OKLaboklab(60.65% -0.0196 0.0307)
OKLCHoklch(60.65% 0.036 122.5)
XYZxyz(19.9434, 22.6116, 18.0626)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E866E #766E86
analogous
#86826E #7E866E #72866E
triadic
#7E866E #6E7E86 #866E7E
tetradic
#7E866E #6E8682 #766E86 #866E72
square
#7E866E #6E8682 #766E86 #866E72
split-complementary
#7E866E #6E7286 #826E86
monochromatic
#3F4337 #5E6452 #7E866E #9CA38F #BABEB0

Accessibility & contrast

On white

3.80
#7E866E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7E866E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E866E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E866E#FFFFFF#000000##000000
##7E866E1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e866e;
/* rgb */ color: rgb(126, 134, 110);
/* oklch */ color: oklch(60.7% 0.036 122.5);
Tailwind
colors: {
  custom: {
    50: '#a3a997',
    500: '#7e866e',
    950: '#000000',
  },
}
SCSS
$custom: #7e866e;
$custom-light: #a3a997;
$custom-dark: #000000;
JSON
{
  "hex": "#7e866e",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 110
  },
  "hsl": {
    "h": 80,
    "s": 9.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.03643,
    "h": 122.5
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

primary
#7E866E
secondary
#A6A2AE
accent
#75B38A
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E866E

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

Preview Lab → · Contrast checker → · Palette generator →

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