#799F20#799F20

#799F20 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.1% C 0.153 H 125.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#799F20
RGBrgb(121, 159, 32)
HSLhsl(78, 66%, 37%)
HSVhsv(78, 80%, 62%)
CMYKcmyk(23.9%, 0%, 79.9%, 37.6%)
CIE-LABlab(60.75, -30.75, 56.76)
CIE-LCHlch(60.75, 64.55, 118.45°)
OKLaboklab(65.12% -0.0894 0.1247)
OKLCHoklch(65.12% 0.153 125.6)
XYZxyz(20.5442, 28.9652, 5.8747)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F20 #46209F
analogous
#9F8620 #799F20 #399F20
triadic
#799F20 #20799F #9F2079
tetradic
#799F20 #209F86 #46209F #9F2039
square
#799F20 #209F86 #46209F #9F2039
split-complementary
#799F20 #20399F #86209F
monochromatic
#2B390B #526C16 #799F20 #A0D22A #B7DE5B

Accessibility & contrast

On white

3.09
#799F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#799F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F20
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F20#FFFFFF#000000##000000
##799F201.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#7F9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f20;
/* rgb */ color: rgb(121, 159, 32);
/* oklch */ color: oklch(65.1% 0.153 125.6);
Tailwind
colors: {
  custom: {
    50: '#a4bb67',
    500: '#799f20',
    950: '#000000',
  },
}
SCSS
$custom: #799f20;
$custom-light: #a4bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#799f20",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 77.953,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65123,
    "c": 0.1534,
    "h": 125.6
  },
  "luminance": 0.28966
}

Semantic roles & 50–950 ramp

primary
#799F20
secondary
#7859C2
accent
#3EE972
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #799F20

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

Preview Lab → · Contrast checker → · Palette generator →

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