#799C20#799C20

#799C20 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.150 H 124.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799C20
RGBrgb(121, 156, 32)
HSLhsl(77, 66%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(22.4%, 0%, 79.5%, 38.8%)
CIE-LABlab(59.84, -29.33, 55.92)
CIE-LCHlch(59.84, 63.15, 117.68°)
OKLaboklab(64.39% -0.0855 0.1229)
OKLCHoklch(64.39% 0.15 124.8)
XYZxyz(20.0345, 27.9459, 5.7048)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C20 #43209C
analogous
#9C8120 #799C20 #3B9C20
triadic
#799C20 #20799C #9C2079
tetradic
#799C20 #209C81 #43209C #9C203B
square
#799C20 #209C81 #43209C #9C203B
split-complementary
#799C20 #203B9C #81209C
monochromatic
#2A360B #526916 #799C20 #A0CF2A #B8DD59

Accessibility & contrast

On white

3.19
#799C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#799C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C20
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C20#FFFFFF#000000##000000
##799C201.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c20;
/* rgb */ color: rgb(121, 156, 32);
/* oklch */ color: oklch(64.4% 0.150 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b967',
    500: '#799c20',
    950: '#000000',
  },
}
SCSS
$custom: #799c20;
$custom-light: #a3b967;
$custom-dark: #000000;
JSON
{
  "hex": "#799c20",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 76.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.14972,
    "h": 124.8
  },
  "luminance": 0.27946
}

Semantic roles & 50–950 ramp

primary
#799C20
secondary
#7557C1
accent
#3FE96F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799C20

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

Preview Lab → · Contrast checker → · Palette generator →

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