#799D21#799D21

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

Color values

HEX#799D21
RGBrgb(121, 157, 33)
HSLhsl(77, 65%, 37%)
HSVhsv(77, 79%, 62%)
CMYKcmyk(22.9%, 0%, 79%, 38.4%)
CIE-LABlab(60.15, -29.76, 55.89)
CIE-LCHlch(60.15, 63.32, 118.03°)
OKLaboklab(64.64% -0.0866 0.123)
OKLCHoklch(64.64% 0.15 125.1)
XYZxyz(20.2168, 28.2884, 5.8337)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D21 #45219D
analogous
#9D8321 #799D21 #3B9D21
triadic
#799D21 #21799D #9D2179
tetradic
#799D21 #219D83 #45219D #9D213B
square
#799D21 #219D83 #45219D #9D213B
split-complementary
#799D21 #213B9D #83219D
monochromatic
#2B380C #526A16 #799D21 #A0D02C #B7DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #799d21;
/* rgb */ color: rgb(121, 157, 33);
/* oklch */ color: oklch(64.6% 0.150 125.1);
Tailwind
colors: {
  custom: {
    50: '#a3ba67',
    500: '#799d21',
    950: '#000000',
  },
}
SCSS
$custom: #799d21;
$custom-light: #a3ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#799d21",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 77.419,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.15044,
    "h": 125.1
  },
  "luminance": 0.28289
}

Semantic roles & 50–950 ramp

primary
#799D21
secondary
#7759C1
accent
#40E871
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799D21

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

Preview Lab → · Contrast checker → · Palette generator →

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