#7E8872#7E8872

#7E8872 is a mid, muted yellow-green. Relative luminance 0.233; OKLCH L 61.2% C 0.034 H 127.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E8872
RGBrgb(126, 136, 114)
HSLhsl(87, 9%, 49%)
HSVhsv(87, 16%, 53%)
CMYKcmyk(7.4%, 0%, 16.2%, 46.7%)
CIE-LABlab(55.34, -7.91, 10.59)
CIE-LCHlch(55.34, 13.22, 126.73°)
OKLaboklab(61.21% -0.0209 0.0273)
OKLCHoklch(61.21% 0.034 127.3)
XYZxyz(20.4451, 23.2588, 19.3286)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8872 #7C7288
analogous
#888772 #7E8872 #738872
triadic
#7E8872 #727E88 #88727E
tetradic
#7E8872 #728887 #7C7288 #887273
square
#7E8872 #728887 #7C7288 #887273
split-complementary
#7E8872 #727388 #877288
monochromatic
#40453A #5F6756 #7E8872 #9CA493 #BBC0B4

Accessibility & contrast

On white

3.72
#7E8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7E8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8872
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8872#FFFFFF#000000##000000
##7E88721.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8571
Deuteranopia (green-blind)
#898473
Tritanopia (blue-blind)
#7F8682
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8872;
/* rgb */ color: rgb(126, 136, 114);
/* oklch */ color: oklch(61.2% 0.034 127.3);
Tailwind
colors: {
  custom: {
    50: '#a3aa9a',
    500: '#7e8872',
    950: '#000000',
  },
}
SCSS
$custom: #7e8872;
$custom-light: #a3aa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8872",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 87.273,
    "s": 8.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.03439,
    "h": 127.3
  },
  "luminance": 0.23259
}

Semantic roles & 50–950 ramp

primary
#7E8872
secondary
#AAA6B0
accent
#76B291
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8872

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

Preview Lab → · Contrast checker → · Palette generator →

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