#7E984B#7E984B

#7E984B is a light, moderate yellow-green. Relative luminance 0.274; OKLCH L 64.2% C 0.108 H 124.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E984B
RGBrgb(126, 152, 75)
HSLhsl(80, 34%, 45%)
HSVhsv(80, 51%, 60%)
CMYKcmyk(17.1%, 0%, 50.7%, 40.4%)
CIE-LABlab(59.34, -21.99, 37.23)
CIE-LCHlch(59.34, 43.24, 120.57°)
OKLaboklab(64.19% -0.0616 0.0888)
OKLCHoklch(64.19% 0.108 124.8)
XYZxyz(21.1024, 27.3999, 10.8322)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E984B #654B98
analogous
#988C4B #7E984B #57984B
triadic
#7E984B #4B7E98 #984B7E
tetradic
#7E984B #4B988C #654B98 #984B57
square
#7E984B #4B988C #654B98 #984B57
split-complementary
#7E984B #4B5798 #8C4B98
monochromatic
#3A4623 #5C6F37 #7E984B #9CB66A #B8CA93

Accessibility & contrast

On white

3.24
#7E984B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7E984B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E984B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E984B#FFFFFF#000000##000000
##7E984B1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9044
Deuteranopia (green-blind)
#9C8F4F
Tritanopia (blue-blind)
#839286
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e984b;
/* rgb */ color: rgb(126, 152, 75);
/* oklch */ color: oklch(64.2% 0.108 124.8);
Tailwind
colors: {
  custom: {
    50: '#a5b67f',
    500: '#7e984b',
    950: '#000000',
  },
}
SCSS
$custom: #7e984b;
$custom-light: #a5b67f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e984b",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 75
  },
  "hsl": {
    "h": 80.26,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.10804,
    "h": 124.8
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#7E984B
secondary
#9889B6
accent
#5ECA82
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E984B

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

Preview Lab → · Contrast checker → · Palette generator →

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