#7E9A4E#7E9A4E

#7E9A4E is a light, moderate yellow-green. Relative luminance 0.281; OKLCH L 64.7% C 0.108 H 125.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7E9A4E
RGBrgb(126, 154, 78)
HSLhsl(82, 33%, 45%)
HSVhsv(82, 49%, 60%)
CMYKcmyk(18.2%, 0%, 49.4%, 39.6%)
CIE-LABlab(59.98, -22.67, 36.47)
CIE-LCHlch(59.98, 42.94, 121.86°)
OKLaboklab(64.71% -0.0632 0.0873)
OKLCHoklch(64.71% 0.108 125.9)
XYZxyz(21.5349, 28.0967, 11.4949)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A4E #6A4E9A
analogous
#9A904E #7E9A4E #589A4E
triadic
#7E9A4E #4E7E9A #9A4E7E
tetradic
#7E9A4E #4E9A90 #6A4E9A #9A4E58
square
#7E9A4E #4E9A90 #6A4E9A #9A4E58
split-complementary
#7E9A4E #4E589A #904E9A
monochromatic
#3C4925 #5D7139 #7E9A4E #9CB66F #B8CB98

Accessibility & contrast

On white

3.17
#7E9A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7E9A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A4E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A4E#FFFFFF#000000##000000
##7E9A4E1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19247
Deuteranopia (green-blind)
#9D9052
Tritanopia (blue-blind)
#829488
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9a4e;
/* rgb */ color: rgb(126, 154, 78);
/* oklch */ color: oklch(64.7% 0.108 125.9);
Tailwind
colors: {
  custom: {
    50: '#a5b781',
    500: '#7e9a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a4e;
$custom-light: #a5b781;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a4e",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 78
  },
  "hsl": {
    "h": 82.105,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.10782,
    "h": 125.9
  },
  "luminance": 0.28097
}

Semantic roles & 50–950 ramp

primary
#7E9A4E
secondary
#9C8DB7
accent
#5FC986
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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