#79A42C#79A42C

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

Color values

HEX#79A42C
RGBrgb(121, 164, 44)
HSLhsl(82, 58%, 41%)
HSVhsv(82, 73%, 64%)
CMYKcmyk(26.2%, 0%, 73.2%, 35.7%)
CIE-LABlab(62.34, -32.46, 54.23)
CIE-LCHlch(62.34, 63.20, 120.90°)
OKLaboklab(66.43% -0.0931 0.1213)
OKLCHoklch(66.43% 0.153 127.5)
XYZxyz(21.6153, 30.7973, 7.1880)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79A42C #572CA4
analogous
#A4932C #79A42C #3DA42C
triadic
#79A42C #2C79A4 #A42C79
tetradic
#79A42C #2CA493 #572CA4 #A42C3D
square
#79A42C #2CA493 #572CA4 #A42C3D
split-complementary
#79A42C #2C3DA4 #932CA4
monochromatic
#324312 #55741F #79A42C #9ACC41 #B4D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79A42C#FFFFFF#000000##000000
##79A42C1.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)
#AC9916
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#7E9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #79a42c;
/* rgb */ color: rgb(121, 164, 44);
/* oklch */ color: oklch(66.4% 0.153 127.5);
Tailwind
colors: {
  custom: {
    50: '#a3bf6d',
    500: '#79a42c',
    950: '#000000',
  },
}
SCSS
$custom: #79a42c;
$custom-light: #a3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#79a42c",
  "rgb": {
    "r": 121,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 81.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66431,
    "c": 0.15292,
    "h": 127.5
  },
  "luminance": 0.30798
}

Semantic roles & 50–950 ramp

primary
#79A42C
secondary
#8A6BC0
accent
#47E17E
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #79A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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