#79A42B#79A42B

#79A42B 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#79A42B
RGBrgb(121, 164, 43)
HSLhsl(81, 58%, 41%)
HSVhsv(81, 74%, 64%)
CMYKcmyk(26.2%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.33, -32.52, 54.59)
CIE-LCHlch(62.33, 63.54, 120.78°)
OKLaboklab(66.42% -0.0933 0.1219)
OKLCHoklch(66.42% 0.154 127.4)
XYZxyz(21.5967, 30.7898, 7.0902)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79A42B #562BA4
analogous
#A4922B #79A42B #3DA42B
triadic
#79A42B #2B79A4 #A42B79
tetradic
#79A42B #2BA492 #562BA4 #A42B3D
square
#79A42B #2BA492 #562BA4 #A42B3D
split-complementary
#79A42B #2B3DA4 #922BA4
monochromatic
#314312 #55741E #79A42B #9BCD3F #B4D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79A42B#FFFFFF#000000##000000
##79A42B1.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)
#AC9814
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#7E9C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #79a42b;
/* rgb */ color: rgb(121, 164, 43);
/* oklch */ color: oklch(66.4% 0.154 127.4);
Tailwind
colors: {
  custom: {
    50: '#a3bf6d',
    500: '#79a42b',
    950: '#000000',
  },
}
SCSS
$custom: #79a42b;
$custom-light: #a3bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#79a42b",
  "rgb": {
    "r": 121,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 81.322,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66424,
    "c": 0.15354,
    "h": 127.4
  },
  "luminance": 0.3079
}

Semantic roles & 50–950 ramp

primary
#79A42B
secondary
#896AC1
accent
#46E27D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #79A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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