#7E8A70#7E8A70

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

Color values

HEX#7E8A70
RGBrgb(126, 138, 112)
HSLhsl(88, 10%, 49%)
HSVhsv(88, 19%, 54%)
CMYKcmyk(8.7%, 0%, 18.8%, 45.9%)
CIE-LABlab(55.87, -9.36, 12.48)
CIE-LCHlch(55.87, 15.60, 126.86°)
OKLaboklab(61.62% -0.0248 0.0321)
OKLCHoklch(61.62% 0.041 127.7)
XYZxyz(20.6169, 23.7823, 18.8304)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A70 #7C708A
analogous
#8A8970 #7E8A70 #718A70
triadic
#7E8A70 #707E8A #8A707E
tetradic
#7E8A70 #708A89 #7C708A #8A7071
square
#7E8A70 #708A89 #7C708A #8A7071
split-complementary
#7E8A70 #70718A #89708A
monochromatic
#404639 #5F6855 #7E8A70 #9CA691 #BBC1B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8A70#FFFFFF#000000##000000
##7E8A701.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)
#8D866E
Deuteranopia (green-blind)
#8B8671
Tritanopia (blue-blind)
#7F8783
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8a70;
/* rgb */ color: rgb(126, 138, 112);
/* oklch */ color: oklch(61.6% 0.041 127.7);
Tailwind
colors: {
  custom: {
    50: '#a3ac99',
    500: '#7e8a70',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a70;
$custom-light: #a3ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a70",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 112
  },
  "hsl": {
    "h": 87.692,
    "s": 10.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.04056,
    "h": 127.7
  },
  "luminance": 0.23782
}

Semantic roles & 50–950 ramp

primary
#7E8A70
secondary
#AAA5B1
accent
#74B391
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100D
muted
#7F7F7E

Preview Lab

Preview with #7E8A70

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

Preview Lab → · Contrast checker → · Palette generator →

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