#7E8A4E#7E8A4E

#7E8A4E is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.084 H 118.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7E8A4E
RGBrgb(126, 138, 78)
HSLhsl(72, 28%, 42%)
HSVhsv(72, 43%, 54%)
CMYKcmyk(8.7%, 0%, 43.5%, 45.9%)
CIE-LABlab(55.24, -14.37, 30.61)
CIE-LCHlch(55.24, 33.82, 115.14°)
OKLaboklab(60.91% -0.0399 0.0743)
OKLCHoklch(60.91% 0.084 118.2)
XYZxyz(19.0679, 23.1628, 10.6726)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A4E #5A4E8A
analogous
#8A784E #7E8A4E #608A4E
triadic
#7E8A4E #4E7E8A #8A4E7E
tetradic
#7E8A4E #4E8A78 #5A4E8A #8A4E60
square
#7E8A4E #4E8A78 #5A4E8A #8A4E60
split-complementary
#7E8A4E #4E608A #784E8A
monochromatic
#373C22 #5A6338 #7E8A4E #9EAB6A #B8C191

Accessibility & contrast

On white

3.73
#7E8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7E8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A4E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A4E#FFFFFF#000000##000000
##7E8A4E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#83847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8a4e;
/* rgb */ color: rgb(126, 138, 78);
/* oklch */ color: oklch(60.9% 0.084 118.2);
Tailwind
colors: {
  custom: {
    50: '#a4ac80',
    500: '#7e8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a4e;
$custom-light: #a4ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a4e",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 72,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.08428,
    "h": 118.2
  },
  "luminance": 0.23163
}

Semantic roles & 50–950 ramp

primary
#7E8A4E
secondary
#8E86AE
accent
#64C477
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7E8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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