#7E8D4E#7E8D4E

#7E8D4E is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.089 H 120.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7E8D4E
RGBrgb(126, 141, 78)
HSLhsl(74, 29%, 43%)
HSVhsv(74, 45%, 55%)
CMYKcmyk(10.6%, 0%, 44.7%, 44.7%)
CIE-LABlab(56.12, -15.96, 31.72)
CIE-LCHlch(56.12, 35.51, 116.71°)
OKLaboklab(61.62% -0.0444 0.0767)
OKLCHoklch(61.62% 0.089 120)
XYZxyz(19.5043, 24.0355, 10.8181)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D4E #5D4E8D
analogous
#8D7C4E #7E8D4E #5E8D4E
triadic
#7E8D4E #4E7E8D #8D4E7E
tetradic
#7E8D4E #4E8D7C #5D4E8D #8D4E5E
square
#7E8D4E #4E8D7C #5D4E8D #8D4E5E
split-complementary
#7E8D4E #4E5E8D #7C4E8D
monochromatic
#383E22 #5B6638 #7E8D4E #9DAD6B #B7C392

Accessibility & contrast

On white

3.62
#7E8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7E8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D4E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D4E#FFFFFF#000000##000000
##7E8D4E1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948749
Deuteranopia (green-blind)
#928751
Tritanopia (blue-blind)
#83877E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8d4e;
/* rgb */ color: rgb(126, 141, 78);
/* oklch */ color: oklch(61.6% 0.089 120.0);
Tailwind
colors: {
  custom: {
    50: '#a4ae81',
    500: '#7e8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d4e;
$custom-light: #a4ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d4e",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 74.286,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.08864,
    "h": 120
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#7E8D4E
secondary
#9187AF
accent
#63C57A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7E8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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