#799C40#799C40

#799C40 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.7% C 0.127 H 127.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#799C40
RGBrgb(121, 156, 64)
HSLhsl(83, 42%, 43%)
HSVhsv(83, 59%, 61%)
CMYKcmyk(22.4%, 0%, 59%, 38.8%)
CIE-LABlab(60.08, -27.11, 43.40)
CIE-LCHlch(60.08, 51.17, 121.99°)
OKLaboklab(64.66% -0.0766 0.1012)
OKLCHoklch(64.66% 0.127 127.1)
XYZxyz(20.6990, 28.2117, 9.2044)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C40 #63409C
analogous
#9C9140 #799C40 #4B9C40
triadic
#799C40 #40799C #9C4079
tetradic
#799C40 #409C91 #63409C #9C404B
square
#799C40 #409C91 #63409C #9C404B
split-complementary
#799C40 #404B9C #91409C
monochromatic
#36451C #57712E #799C40 #98BC5D #B4CE88

Accessibility & contrast

On white

3.16
#799C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#799C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C40
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C40#FFFFFF#000000##000000
##799C401.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39236
Deuteranopia (green-blind)
#9F9046
Tritanopia (blue-blind)
#7D9588
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799c40;
/* rgb */ color: rgb(121, 156, 64);
/* oklch */ color: oklch(64.7% 0.127 127.1);
Tailwind
colors: {
  custom: {
    50: '#a2b978',
    500: '#799c40',
    950: '#000000',
  },
}
SCSS
$custom: #799c40;
$custom-light: #a2b978;
$custom-dark: #000000;
JSON
{
  "hex": "#799c40",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 64
  },
  "hsl": {
    "h": 82.826,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.12688,
    "h": 127.1
  },
  "luminance": 0.28212
}

Semantic roles & 50–950 ramp

primary
#799C40
secondary
#957FB9
accent
#56D285
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799C40

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

Preview Lab → · Contrast checker → · Palette generator →

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