#7E8470#7E8470

#7E8470 is a mid, muted yellow-green. Relative luminance 0.221; OKLCH L 60.2% C 0.030 H 120.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E8470
RGBrgb(126, 132, 112)
HSLhsl(78, 8%, 48%)
HSVhsv(78, 15%, 52%)
CMYKcmyk(4.5%, 0%, 15.2%, 48.2%)
CIE-LABlab(54.14, -6.03, 10.06)
CIE-LCHlch(54.14, 11.73, 120.96°)
OKLaboklab(60.25% -0.0155 0.026)
OKLCHoklch(60.25% 0.03 120.9)
XYZxyz(19.7797, 22.1080, 18.5513)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8470 #767084
analogous
#848070 #7E8470 #748470
triadic
#7E8470 #707E84 #84707E
tetradic
#7E8470 #708480 #767084 #847074
square
#7E8470 #708480 #767084 #847074
split-complementary
#7E8470 #707484 #807084
monochromatic
#3F4238 #5E6354 #7E8470 #9CA190 #BABDB1

Accessibility & contrast

On white

3.87
#7E8470 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7E8470 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8470
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8470#FFFFFF#000000##000000
##7E84701.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87826F
Deuteranopia (green-blind)
#868171
Tritanopia (blue-blind)
#80827E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e8470;
/* rgb */ color: rgb(126, 132, 112);
/* oklch */ color: oklch(60.2% 0.030 120.9);
Tailwind
colors: {
  custom: {
    50: '#a3a799',
    500: '#7e8470',
    950: '#000000',
  },
}
SCSS
$custom: #7e8470;
$custom-light: #a3a799;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8470",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 112
  },
  "hsl": {
    "h": 78,
    "s": 8.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.03029,
    "h": 120.9
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#7E8470
secondary
#A6A3AD
accent
#77B188
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0D
muted
#7F7F7E

Preview Lab

Preview with #7E8470

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

Preview Lab → · Contrast checker → · Palette generator →

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