#799B20#799B20

#799B20 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.148 H 124.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#799B20
RGBrgb(121, 155, 32)
HSLhsl(77, 66%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(21.9%, 0%, 79.4%, 39.2%)
CIE-LABlab(59.54, -28.85, 55.64)
CIE-LCHlch(59.54, 62.68, 117.41°)
OKLaboklab(64.14% -0.0842 0.1223)
OKLCHoklch(64.14% 0.148 124.5)
XYZxyz(19.8674, 27.6117, 5.6491)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B20 #42209B
analogous
#9B8020 #799B20 #3C9B20
triadic
#799B20 #20799B #9B2079
tetradic
#799B20 #209B80 #42209B #9B203C
square
#799B20 #209B80 #42209B #9B203C
split-complementary
#799B20 #203C9B #80209B
monochromatic
#2A360B #516816 #799B20 #A1CE2A #B8DD59

Accessibility & contrast

On white

3.22
#799B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#799B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B20
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B20#FFFFFF#000000##000000
##799B201.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b20;
/* rgb */ color: rgb(121, 155, 32);
/* oklch */ color: oklch(64.1% 0.148 124.5);
Tailwind
colors: {
  custom: {
    50: '#a3b867',
    500: '#799b20',
    950: '#000000',
  },
}
SCSS
$custom: #799b20;
$custom-light: #a3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#799b20",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 76.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64139,
    "c": 0.14849,
    "h": 124.5
  },
  "luminance": 0.27612
}

Semantic roles & 50–950 ramp

primary
#799B20
secondary
#7456C1
accent
#3FE96E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799B20

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

Preview Lab → · Contrast checker → · Palette generator →

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