#79B42A#79B42A

#79B42A is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.4% C 0.174 H 130.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#79B42A
RGBrgb(121, 180, 42)
HSLhsl(86, 62%, 44%)
HSVhsv(86, 77%, 71%)
CMYKcmyk(32.8%, 0%, 76.7%, 29.4%)
CIE-LABlab(67.18, -39.80, 59.62)
CIE-LCHlch(67.18, 71.68, 123.73°)
OKLaboklab(70.37% -0.1132 0.1323)
OKLCHoklch(70.37% 0.174 130.5)
XYZxyz(24.6242, 36.8738, 8.0100)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79B42A #652AB4
analogous
#B4AA2A #79B42A #34B42A
triadic
#79B42A #2A79B4 #B42A79
tetradic
#79B42A #2AB4AA #652AB4 #B42A34
square
#79B42A #2AB4AA #652AB4 #B42A34
split-complementary
#79B42A #2A34B4 #AA2AB4
monochromatic
#365113 #58821E #79B42A #98D447 #B4E079

Accessibility & contrast

On white

2.51
#79B42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#79B42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #79B42A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79B42A#FFFFFF#000000##000000
##79B42A1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA605
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#7CAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #79b42a;
/* rgb */ color: rgb(121, 180, 42);
/* oklch */ color: oklch(70.4% 0.174 130.5);
Tailwind
colors: {
  custom: {
    50: '#a5cb6e',
    500: '#79b42a',
    950: '#000000',
  },
}
SCSS
$custom: #79b42a;
$custom-light: #a5cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#79b42a",
  "rgb": {
    "r": 121,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 85.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.17411,
    "h": 130.5
  },
  "luminance": 0.36875
}

Semantic roles & 50–950 ramp

primary
#79B42A
secondary
#9772C8
accent
#43E588
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #79B42A

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

Preview Lab → · Contrast checker → · Palette generator →

#79B42A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva