#799F21#799F21

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

Color values

HEX#799F21
RGBrgb(121, 159, 33)
HSLhsl(78, 66%, 38%)
HSVhsv(78, 79%, 62%)
CMYKcmyk(23.9%, 0%, 79.2%, 37.6%)
CIE-LABlab(60.76, -30.71, 56.45)
CIE-LCHlch(60.76, 64.26, 118.54°)
OKLaboklab(65.13% -0.0892 0.1242)
OKLCHoklch(65.13% 0.153 125.7)
XYZxyz(20.5580, 28.9707, 5.9474)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F21 #47219F
analogous
#9F8621 #799F21 #3A9F21
triadic
#799F21 #21799F #9F2179
tetradic
#799F21 #219F86 #47219F #9F213A
square
#799F21 #219F86 #47219F #9F213A
split-complementary
#799F21 #213A9F #86219F
monochromatic
#2C3A0C #526C16 #799F21 #A0D22C #B7DD5D

Accessibility & contrast

On white

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

On black

6.79
#799F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F21
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F21#FFFFFF#000000##000000
##799F211.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799f21;
/* rgb */ color: rgb(121, 159, 33);
/* oklch */ color: oklch(65.1% 0.153 125.7);
Tailwind
colors: {
  custom: {
    50: '#a4bb68',
    500: '#799f21',
    950: '#000000',
  },
}
SCSS
$custom: #799f21;
$custom-light: #a4bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#799f21",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 78.095,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.1529,
    "h": 125.7
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#799F21
secondary
#795AC2
accent
#3FE972
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #799F21

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

Preview Lab → · Contrast checker → · Palette generator →

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