#799C21#799C21

#799C21 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.149 H 124.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799C21
RGBrgb(121, 156, 33)
HSLhsl(77, 65%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(22.4%, 0%, 78.8%, 38.8%)
CIE-LABlab(59.84, -29.28, 55.61)
CIE-LCHlch(59.84, 62.85, 117.77°)
OKLaboklab(64.39% -0.0853 0.1224)
OKLCHoklch(64.39% 0.149 124.9)
XYZxyz(20.0483, 27.9515, 5.7775)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C21 #44219C
analogous
#9C8221 #799C21 #3C9C21
triadic
#799C21 #21799C #9C2179
tetradic
#799C21 #219C82 #44219C #9C213C
square
#799C21 #219C82 #44219C #9C213C
split-complementary
#799C21 #213C9C #82219C
monochromatic
#2B370C #526916 #799C21 #A0CF2C #B8DC5B

Accessibility & contrast

On white

3.19
#799C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#799C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C21
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C21#FFFFFF#000000##000000
##799C211.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c21;
/* rgb */ color: rgb(121, 156, 33);
/* oklch */ color: oklch(64.4% 0.149 124.9);
Tailwind
colors: {
  custom: {
    50: '#a3b967',
    500: '#799c21',
    950: '#000000',
  },
}
SCSS
$custom: #799c21;
$custom-light: #a3b967;
$custom-dark: #000000;
JSON
{
  "hex": "#799c21",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 77.073,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.14921,
    "h": 124.9
  },
  "luminance": 0.27952
}

Semantic roles & 50–950 ramp

primary
#799C21
secondary
#7658C1
accent
#40E870
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799C21

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

Preview Lab → · Contrast checker → · Palette generator →

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