#79BA31#79BA31

#79BA31 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 71.9% C 0.178 H 131.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#79BA31
RGBrgb(121, 186, 49)
HSLhsl(88, 58%, 46%)
HSVhsv(88, 74%, 73%)
CMYKcmyk(34.9%, 0%, 73.7%, 27.1%)
CIE-LABlab(69.04, -42.00, 59.05)
CIE-LCHlch(69.04, 72.46, 125.42°)
OKLaboklab(71.9% -0.1186 0.1322)
OKLCHoklch(71.9% 0.178 131.9)
XYZxyz(25.9982, 39.4035, 9.1410)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79BA31 #7231BA
analogous
#BAB631 #79BA31 #34BA31
triadic
#79BA31 #3179BA #BA3179
tetradic
#79BA31 #31BAB6 #7231BA #BA3134
square
#79BA31 #31BAB6 #7231BA #BA3134
split-complementary
#79BA31 #3134BA #B631BA
monochromatic
#3A5917 #598A24 #79BA31 #97D256 #B5DF86

Accessibility & contrast

On white

2.36
#79BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#79BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #79BA31
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79BA31#FFFFFF#000000##000000
##79BA311.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#7BB2A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #79ba31;
/* rgb */ color: rgb(121, 186, 49);
/* oklch */ color: oklch(71.9% 0.178 131.9);
Tailwind
colors: {
  custom: {
    50: '#a5cf72',
    500: '#79ba31',
    950: '#000000',
  },
}
SCSS
$custom: #79ba31;
$custom-light: #a5cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#79ba31",
  "rgb": {
    "r": 121,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 88.467,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.719,
    "c": 0.17762,
    "h": 131.9
  },
  "luminance": 0.39405
}

Semantic roles & 50–950 ramp

primary
#79BA31
secondary
#A17EC9
accent
#46E290
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #79BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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