#79A51F#79A51F

#79A51F is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.6% C 0.161 H 127.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#79A51F
RGBrgb(121, 165, 31)
HSLhsl(80, 68%, 38%)
HSVhsv(80, 81%, 65%)
CMYKcmyk(26.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(62.57, -33.60, 58.70)
CIE-LCHlch(62.57, 67.64, 119.78°)
OKLaboklab(66.6% -0.0971 0.1286)
OKLCHoklch(66.6% 0.161 127.1)
XYZxyz(21.5877, 31.0737, 6.1565)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79A51F #4B1FA5
analogous
#A58E1F #79A51F #36A51F
triadic
#79A51F #1F79A5 #A51F79
tetradic
#79A51F #1FA58E #4B1FA5 #A51F36
square
#79A51F #1FA58E #4B1FA5 #A51F36
split-complementary
#79A51F #1F36A5 #8E1FA5
monochromatic
#2D3E0C #537115 #79A51F #9ED72A #B6E15E

Accessibility & contrast

On white

2.91
#79A51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#79A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #79A51F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79A51F#FFFFFF#000000##000000
##79A51F1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#7E9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #79a51f;
/* rgb */ color: rgb(121, 165, 31);
/* oklch */ color: oklch(66.6% 0.161 127.1);
Tailwind
colors: {
  custom: {
    50: '#a4c068',
    500: '#79a51f',
    950: '#000000',
  },
}
SCSS
$custom: #79a51f;
$custom-light: #a4c068;
$custom-dark: #000000;
JSON
{
  "hex": "#79a51f",
  "rgb": {
    "r": 121,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 79.701,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.1612,
    "h": 127.1
  },
  "luminance": 0.31074
}

Semantic roles & 50–950 ramp

primary
#79A51F
secondary
#7E5BC5
accent
#3DEB76
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #79A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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