#7E8A71#7E8A71

#7E8A71 is a mid, muted yellow-green. Relative luminance 0.238; OKLCH L 61.6% C 0.039 H 128.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7E8A71
RGBrgb(126, 138, 113)
HSLhsl(89, 10%, 49%)
HSVhsv(89, 18%, 54%)
CMYKcmyk(8.7%, 0%, 18.1%, 45.9%)
CIE-LABlab(55.89, -9.18, 11.94)
CIE-LCHlch(55.89, 15.07, 127.56°)
OKLaboklab(61.64% -0.0244 0.0307)
OKLCHoklch(61.64% 0.039 128.4)
XYZxyz(20.6728, 23.8047, 19.1252)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A71 #7D718A
analogous
#8A8A71 #7E8A71 #728A71
triadic
#7E8A71 #717E8A #8A717E
tetradic
#7E8A71 #718A8A #7D718A #8A7172
square
#7E8A71 #718A8A #7D718A #8A7172
split-complementary
#7E8A71 #71728A #8A718A
monochromatic
#41473A #5F6855 #7E8A71 #9CA692 #BBC2B4

Accessibility & contrast

On white

3.65
#7E8A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7E8A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A71
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A71#FFFFFF#000000##000000
##7E8A711.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8670
Deuteranopia (green-blind)
#8B8672
Tritanopia (blue-blind)
#7F8883
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8a71;
/* rgb */ color: rgb(126, 138, 113);
/* oklch */ color: oklch(61.6% 0.039 128.4);
Tailwind
colors: {
  custom: {
    50: '#a3ac99',
    500: '#7e8a71',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a71;
$custom-light: #a3ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a71",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 88.8,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.03922,
    "h": 128.4
  },
  "luminance": 0.23805
}

Semantic roles & 50–950 ramp

primary
#7E8A71
secondary
#ABA6B1
accent
#75B393
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8A71

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

Preview Lab → · Contrast checker → · Palette generator →

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