#799F22#799F22

#799F22 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.1% C 0.152 H 125.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#799F22
RGBrgb(121, 159, 34)
HSLhsl(78, 65%, 38%)
HSVhsv(78, 79%, 62%)
CMYKcmyk(23.9%, 0%, 78.6%, 37.6%)
CIE-LABlab(60.76, -30.66, 56.15)
CIE-LCHlch(60.76, 63.97, 118.64°)
OKLaboklab(65.14% -0.089 0.1237)
OKLCHoklch(65.14% 0.152 125.7)
XYZxyz(20.5722, 28.9764, 6.0222)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F22 #48229F
analogous
#9F8622 #799F22 #3A9F22
triadic
#799F22 #22799F #9F2279
tetradic
#799F22 #229F86 #48229F #9F223A
square
#799F22 #229F86 #48229F #9F223A
split-complementary
#799F22 #223A9F #86229F
monochromatic
#2C3A0C #536D17 #799F22 #9FD12D #B6DD5F

Accessibility & contrast

On white

3.09
#799F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#799F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F22
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F22#FFFFFF#000000##000000
##799F221.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#7F9788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f22;
/* rgb */ color: rgb(121, 159, 34);
/* oklch */ color: oklch(65.1% 0.152 125.7);
Tailwind
colors: {
  custom: {
    50: '#a4bb68',
    500: '#799f22',
    950: '#000000',
  },
}
SCSS
$custom: #799f22;
$custom-light: #a4bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#799f22",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 78.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65135,
    "c": 0.15239,
    "h": 125.7
  },
  "luminance": 0.28977
}

Semantic roles & 50–950 ramp

primary
#799F22
secondary
#7A5BC1
accent
#40E873
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #799F22

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

Preview Lab → · Contrast checker → · Palette generator →

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