#799E22#799E22

#799E22 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.151 H 125.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#799E22
RGBrgb(121, 158, 34)
HSLhsl(78, 65%, 38%)
HSVhsv(78, 78%, 62%)
CMYKcmyk(23.4%, 0%, 78.5%, 38%)
CIE-LABlab(60.46, -30.19, 55.86)
CIE-LCHlch(60.46, 63.50, 118.39°)
OKLaboklab(64.89% -0.0877 0.1231)
OKLCHoklch(64.89% 0.151 125.4)
XYZxyz(20.4009, 28.6339, 5.9651)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E22 #47229E
analogous
#9E8522 #799E22 #3B9E22
triadic
#799E22 #22799E #9E2279
tetradic
#799E22 #229E85 #47229E #9E223B
square
#799E22 #229E85 #47229E #9E223B
split-complementary
#799E22 #223B9E #85229E
monochromatic
#2C390C #526C17 #799E22 #A0D02D #B7DC5E

Accessibility & contrast

On white

3.12
#799E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#799E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E22
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E22#FFFFFF#000000##000000
##799E221.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#7F9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e22;
/* rgb */ color: rgb(121, 158, 34);
/* oklch */ color: oklch(64.9% 0.151 125.4);
Tailwind
colors: {
  custom: {
    50: '#a3ba68',
    500: '#799e22',
    950: '#000000',
  },
}
SCSS
$custom: #799e22;
$custom-light: #a3ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#799e22",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 77.903,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.15116,
    "h": 125.4
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

primary
#799E22
secondary
#795BC1
accent
#40E872
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799E22

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

Preview Lab → · Contrast checker → · Palette generator →

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