#7E9B4E#7E9B4E

#7E9B4E is a light, moderate yellow-green. Relative luminance 0.284; OKLCH L 65.0% C 0.109 H 126.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7E9B4E
RGBrgb(126, 155, 78)
HSLhsl(83, 33%, 46%)
HSVhsv(83, 50%, 61%)
CMYKcmyk(18.7%, 0%, 49.7%, 39.2%)
CIE-LABlab(60.27, -23.17, 36.83)
CIE-LCHlch(60.27, 43.51, 122.17°)
OKLaboklab(64.95% -0.0646 0.0881)
OKLCHoklch(64.95% 0.109 126.3)
XYZxyz(21.7006, 28.4281, 11.5502)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B4E #6B4E9B
analogous
#9B914E #7E9B4E #589B4E
triadic
#7E9B4E #4E7E9B #9B4E7E
tetradic
#7E9B4E #4E9B91 #6B4E9B #9B4E58
square
#7E9B4E #4E9B91 #6B4E9B #9B4E58
split-complementary
#7E9B4E #4E589B #914E9B
monochromatic
#3C4A25 #5D723A #7E9B4E #9CB76F #B8CB98

Accessibility & contrast

On white

3.14
#7E9B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7E9B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B4E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B4E#FFFFFF#000000##000000
##7E9B4E1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29247
Deuteranopia (green-blind)
#9E9152
Tritanopia (blue-blind)
#829589
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e9b4e;
/* rgb */ color: rgb(126, 155, 78);
/* oklch */ color: oklch(65.0% 0.109 126.3);
Tailwind
colors: {
  custom: {
    50: '#a5b881',
    500: '#7e9b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b4e;
$custom-light: #a5b881;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b4e",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 78
  },
  "hsl": {
    "h": 82.597,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.10929,
    "h": 126.3
  },
  "luminance": 0.28428
}

Semantic roles & 50–950 ramp

primary
#7E9B4E
secondary
#9D8DB8
accent
#5FC987
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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