#799A20#799A20

#799A20 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.147 H 124.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#799A20
RGBrgb(121, 154, 32)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 79%, 60%)
CMYKcmyk(21.4%, 0%, 79.2%, 39.6%)
CIE-LABlab(59.23, -28.37, 55.36)
CIE-LCHlch(59.23, 62.21, 117.13°)
OKLaboklab(63.89% -0.0829 0.1217)
OKLCHoklch(63.89% 0.147 124.2)
XYZxyz(19.7017, 27.2802, 5.5939)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A20 #41209A
analogous
#9A7E20 #799A20 #3C9A20
triadic
#799A20 #20799A #9A2079
tetradic
#799A20 #209A7E #41209A #9A203C
square
#799A20 #209A7E #41209A #9A203C
split-complementary
#799A20 #203C9A #7E209A
monochromatic
#29350B #516715 #799A20 #A1CD2B #B9DC58

Accessibility & contrast

On white

3.25
#799A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#799A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A20
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A20#FFFFFF#000000##000000
##799A201.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#7F9283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a20;
/* rgb */ color: rgb(121, 154, 32);
/* oklch */ color: oklch(63.9% 0.147 124.2);
Tailwind
colors: {
  custom: {
    50: '#a3b766',
    500: '#799a20',
    950: '#000000',
  },
}
SCSS
$custom: #799a20;
$custom-light: #a3b766;
$custom-dark: #000000;
JSON
{
  "hex": "#799a20",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 76.23,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.14726,
    "h": 124.2
  },
  "luminance": 0.2728
}

Semantic roles & 50–950 ramp

primary
#799A20
secondary
#7256C0
accent
#3FE96D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799A20

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

Preview Lab → · Contrast checker → · Palette generator →

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