#799D40#799D40

#799D40 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.9% C 0.128 H 127.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#799D40
RGBrgb(121, 157, 64)
HSLhsl(83, 42%, 43%)
HSVhsv(83, 59%, 62%)
CMYKcmyk(22.9%, 0%, 59.2%, 38.4%)
CIE-LABlab(60.38, -27.60, 43.74)
CIE-LCHlch(60.38, 51.72, 122.25°)
OKLaboklab(64.9% -0.0779 0.1019)
OKLCHoklch(64.9% 0.128 127.4)
XYZxyz(20.8675, 28.5487, 9.2605)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D40 #64409D
analogous
#9D9240 #799D40 #4A9D40
triadic
#799D40 #40799D #9D4079
tetradic
#799D40 #409D92 #64409D #9D404A
square
#799D40 #409D92 #64409D #9D404A
split-complementary
#799D40 #404A9D #92409D
monochromatic
#36461D #57722E #799D40 #98BD5D #B4CF89

Accessibility & contrast

On white

3.13
#799D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#799D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D40
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D40#FFFFFF#000000##000000
##799D401.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#9F9146
Tritanopia (blue-blind)
#7D9689
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799d40;
/* rgb */ color: rgb(121, 157, 64);
/* oklch */ color: oklch(64.9% 0.128 127.4);
Tailwind
colors: {
  custom: {
    50: '#a2ba78',
    500: '#799d40',
    950: '#000000',
  },
}
SCSS
$custom: #799d40;
$custom-light: #a2ba78;
$custom-dark: #000000;
JSON
{
  "hex": "#799d40",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 83.226,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.649,
    "c": 0.12827,
    "h": 127.4
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#799D40
secondary
#967FB9
accent
#56D286
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799D40

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

Preview Lab → · Contrast checker → · Palette generator →

#799D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva