#7E8A72#7E8A72

#7E8A72 is a mid, muted yellow-green. Relative luminance 0.238; OKLCH L 61.7% C 0.038 H 129.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E8A72
RGBrgb(126, 138, 114)
HSLhsl(90, 10%, 49%)
HSVhsv(90, 17%, 54%)
CMYKcmyk(8.7%, 0%, 17.4%, 45.9%)
CIE-LABlab(55.91, -9.01, 11.40)
CIE-LCHlch(55.91, 14.53, 128.31°)
OKLaboklab(61.67% -0.0239 0.0294)
OKLCHoklch(61.67% 0.038 129.2)
XYZxyz(20.7294, 23.8274, 19.4234)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A72 #7E728A
analogous
#8A8A72 #7E8A72 #728A72
triadic
#7E8A72 #727E8A #8A727E
tetradic
#7E8A72 #728A8A #7E728A #8A7272
square
#7E8A72 #728A8A #7E728A #8A7272
split-complementary
#7E8A72 #72728A #8A728A
monochromatic
#41473B #5F6856 #7E8A72 #9DA693 #BBC2B5

Accessibility & contrast

On white

3.64
#7E8A72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7E8A72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A72
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A72#FFFFFF#000000##000000
##7E8A721.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8a72;
/* rgb */ color: rgb(126, 138, 114);
/* oklch */ color: oklch(61.7% 0.038 129.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac9a',
    500: '#7e8a72',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a72;
$custom-light: #a3ac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a72",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 114
  },
  "hsl": {
    "h": 90,
    "s": 9.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.03788,
    "h": 129.2
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#7E8A72
secondary
#ACA6B1
accent
#75B394
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100E
muted
#7F7F7E

Preview Lab

Preview with #7E8A72

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

Preview Lab → · Contrast checker → · Palette generator →

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