#799E20#799E20

#799E20 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.152 H 125.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#799E20
RGBrgb(121, 158, 32)
HSLhsl(78, 66%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(23.4%, 0%, 79.7%, 38%)
CIE-LABlab(60.45, -30.28, 56.48)
CIE-LCHlch(60.45, 64.08, 118.20°)
OKLaboklab(64.88% -0.0881 0.1241)
OKLCHoklch(64.88% 0.152 125.4)
XYZxyz(20.3729, 28.6227, 5.8176)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E20 #45209E
analogous
#9E8420 #799E20 #3A9E20
triadic
#799E20 #20799E #9E2079
tetradic
#799E20 #209E84 #45209E #9E203A
square
#799E20 #209E84 #45209E #9E203A
split-complementary
#799E20 #203A9E #84209E
monochromatic
#2B380B #526B16 #799E20 #A0D12A #B7DE5B

Accessibility & contrast

On white

3.12
#799E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#799E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E20
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E20#FFFFFF#000000##000000
##799E201.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#7F9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e20;
/* rgb */ color: rgb(121, 158, 32);
/* oklch */ color: oklch(64.9% 0.152 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4ba67',
    500: '#799e20',
    950: '#000000',
  },
}
SCSS
$custom: #799e20;
$custom-light: #a4ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#799e20",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 77.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64877,
    "c": 0.15217,
    "h": 125.4
  },
  "luminance": 0.28623
}

Semantic roles & 50–950 ramp

primary
#799E20
secondary
#7758C2
accent
#3FE971
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799E20

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

Preview Lab → · Contrast checker → · Palette generator →

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