#799020#799020

#799020 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.4% C 0.135 H 120.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#799020
RGBrgb(121, 144, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 56%)
CMYKcmyk(16%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.20, -23.46, 52.55)
CIE-LCHlch(56.20, 57.55, 114.05°)
OKLaboklab(61.45% -0.0694 0.1158)
OKLCHoklch(61.45% 0.135 120.9)
XYZxyz(18.1194, 24.1158, 5.0665)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799020 #372090
analogous
#906F20 #799020 #419020
triadic
#799020 #207990 #902079
tetradic
#799020 #20906F #372090 #902041
square
#799020 #20906F #372090 #902041
split-complementary
#799020 #204190 #6F2090
monochromatic
#252C0A #4F5E15 #799020 #A3C22B #BDD952

Accessibility & contrast

On white

3.61
#799020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#799020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799020
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799020#FFFFFF#000000##000000
##7990201.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#80887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #799020;
/* rgb */ color: rgb(121, 144, 32);
/* oklch */ color: oklch(61.4% 0.135 120.9);
Tailwind
colors: {
  custom: {
    50: '#a3b065',
    500: '#799020',
    950: '#000000',
  },
}
SCSS
$custom: #799020;
$custom-light: #a3b065;
$custom-dark: #000000;
JSON
{
  "hex": "#799020",
  "rgb": {
    "r": 121,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 72.321,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.13502,
    "h": 120.9
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#799020
secondary
#6650BC
accent
#41E763
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799020

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

Preview Lab → · Contrast checker → · Palette generator →

#799020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva