#79A42A#79A42A

#79A42A is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.4% C 0.154 H 127.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#79A42A
RGBrgb(121, 164, 42)
HSLhsl(81, 59%, 40%)
HSVhsv(81, 74%, 64%)
CMYKcmyk(26.2%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.32, -32.58, 54.94)
CIE-LCHlch(62.32, 63.87, 120.67°)
OKLaboklab(66.42% -0.0936 0.1225)
OKLCHoklch(66.42% 0.154 127.4)
XYZxyz(21.5786, 30.7826, 6.9948)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79A42A #552AA4
analogous
#A4922A #79A42A #3CA42A
triadic
#79A42A #2A79A4 #A42A79
tetradic
#79A42A #2AA492 #552AA4 #A42A3C
square
#79A42A #2AA492 #552AA4 #A42A3C
split-complementary
#79A42A #2A3CA4 #922AA4
monochromatic
#314311 #55731E #79A42A #9BCD3E #B4DA6E

Accessibility & contrast

On white

2.93
#79A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#79A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #79A42A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79A42A#FFFFFF#000000##000000
##79A42A1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9811
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#7E9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #79a42a;
/* rgb */ color: rgb(121, 164, 42);
/* oklch */ color: oklch(66.4% 0.154 127.4);
Tailwind
colors: {
  custom: {
    50: '#a3bf6c',
    500: '#79a42a',
    950: '#000000',
  },
}
SCSS
$custom: #79a42a;
$custom-light: #a3bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#79a42a",
  "rgb": {
    "r": 121,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 81.148,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.15415,
    "h": 127.4
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#79A42A
secondary
#8869C1
accent
#45E27D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #79A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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