#799D22#799D22

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

Color values

HEX#799D22
RGBrgb(121, 157, 34)
HSLhsl(78, 64%, 37%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(22.9%, 0%, 78.3%, 38.4%)
CIE-LABlab(60.15, -29.71, 55.58)
CIE-LCHlch(60.15, 63.02, 118.13°)
OKLaboklab(64.64% -0.0864 0.1225)
OKLCHoklch(64.64% 0.15 125.2)
XYZxyz(20.2310, 28.2941, 5.9085)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D22 #46229D
analogous
#9D8422 #799D22 #3B9D22
triadic
#799D22 #22799D #9D2279
tetradic
#799D22 #229D84 #46229D #9D223B
square
#799D22 #229D84 #46229D #9D223B
split-complementary
#799D22 #223B9D #84229D
monochromatic
#2B380C #526B17 #799D22 #A0CF2D #B7DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799D22#FFFFFF#000000##000000
##799D221.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)
#A1912E
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d22;
/* rgb */ color: rgb(121, 157, 34);
/* oklch */ color: oklch(64.6% 0.150 125.2);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#799d22',
    950: '#000000',
  },
}
SCSS
$custom: #799d22;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#799d22",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 77.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64642,
    "c": 0.14992,
    "h": 125.2
  },
  "luminance": 0.28294
}

Semantic roles & 50–950 ramp

primary
#799D22
secondary
#785AC1
accent
#40E771
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799D22

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

Preview Lab → · Contrast checker → · Palette generator →

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