#799D20#799D20

#799D20 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.151 H 125.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#799D20
RGBrgb(121, 157, 32)
HSLhsl(77, 66%, 37%)
HSVhsv(77, 80%, 62%)
CMYKcmyk(22.9%, 0%, 79.6%, 38.4%)
CIE-LABlab(60.14, -29.81, 56.20)
CIE-LCHlch(60.14, 63.61, 117.94°)
OKLaboklab(64.63% -0.0868 0.1235)
OKLCHoklch(64.63% 0.151 125.1)
XYZxyz(20.2030, 28.2829, 5.7610)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D20 #44209D
analogous
#9D8320 #799D20 #3B9D20
triadic
#799D20 #20799D #9D2079
tetradic
#799D20 #209D83 #44209D #9D203B
square
#799D20 #209D83 #44209D #9D203B
split-complementary
#799D20 #203B9D #83209D
monochromatic
#2B370B #526A16 #799D20 #A0D02A #B8DD5A

Accessibility & contrast

On white

3.15
#799D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#799D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D20
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D20#FFFFFF#000000##000000
##799D201.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d20;
/* rgb */ color: rgb(121, 157, 32);
/* oklch */ color: oklch(64.6% 0.151 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3ba67',
    500: '#799d20',
    950: '#000000',
  },
}
SCSS
$custom: #799d20;
$custom-light: #a3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#799d20",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 77.28,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.15095,
    "h": 125.1
  },
  "luminance": 0.28283
}

Semantic roles & 50–950 ramp

primary
#799D20
secondary
#7657C1
accent
#3FE970
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799D20

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

Preview Lab → · Contrast checker → · Palette generator →

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