#79B228#79B228

#79B228 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 69.9% C 0.173 H 130.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#79B228
RGBrgb(121, 178, 40)
HSLhsl(85, 63%, 43%)
HSVhsv(85, 78%, 70%)
CMYKcmyk(32%, 0%, 77.5%, 30.2%)
CIE-LABlab(66.56, -39.03, 59.67)
CIE-LCHlch(66.56, 71.30, 123.19°)
OKLaboklab(69.86% -0.1112 0.1321)
OKLCHoklch(69.86% 0.173 130.1)
XYZxyz(24.1884, 36.0582, 7.6926)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79B228 #6128B2
analogous
#B2A628 #79B228 #34B228
triadic
#79B228 #2879B2 #B22879
tetradic
#79B228 #28B2A6 #6128B2 #B22834
square
#79B228 #28B2A6 #6128B2 #B22834
split-complementary
#79B228 #2834B2 #A628B2
monochromatic
#354E12 #57801D #79B228 #98D543 #B4E075

Accessibility & contrast

On white

2.56
#79B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#79B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #79B228
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79B228#FFFFFF#000000##000000
##79B2281.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA501
Deuteranopia (green-blind)
#B3A036
Tritanopia (blue-blind)
#7CAA98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #79b228;
/* rgb */ color: rgb(121, 178, 40);
/* oklch */ color: oklch(69.9% 0.173 130.1);
Tailwind
colors: {
  custom: {
    50: '#a4c96d',
    500: '#79b228',
    950: '#000000',
  },
}
SCSS
$custom: #79b228;
$custom-light: #a4c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#79b228",
  "rgb": {
    "r": 121,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 84.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.17271,
    "h": 130.1
  },
  "luminance": 0.36059
}

Semantic roles & 50–950 ramp

primary
#79B228
secondary
#936FC7
accent
#41E686
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #79B228

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

Preview Lab → · Contrast checker → · Palette generator →

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