#799A21#799A21

#799A21 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.9% C 0.147 H 124.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#799A21
RGBrgb(121, 154, 33)
HSLhsl(76, 65%, 37%)
HSVhsv(76, 79%, 60%)
CMYKcmyk(21.4%, 0%, 78.6%, 39.6%)
CIE-LABlab(59.24, -28.32, 55.05)
CIE-LCHlch(59.24, 61.91, 117.23°)
OKLaboklab(63.9% -0.0827 0.1213)
OKLCHoklch(63.9% 0.147 124.3)
XYZxyz(19.7155, 27.2858, 5.6665)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A21 #42219A
analogous
#9A7F21 #799A21 #3C9A21
triadic
#799A21 #21799A #9A2179
tetradic
#799A21 #219A7F #42219A #9A213C
square
#799A21 #219A7F #42219A #9A213C
split-complementary
#799A21 #213C9A #7F219A
monochromatic
#2A350B #516816 #799A21 #A1CC2C #B8DC5A

Accessibility & contrast

On white

3.25
#799A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#799A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A21
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A21#FFFFFF#000000##000000
##799A211.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a21;
/* rgb */ color: rgb(121, 154, 33);
/* oklch */ color: oklch(63.9% 0.147 124.3);
Tailwind
colors: {
  custom: {
    50: '#a3b767',
    500: '#799a21',
    950: '#000000',
  },
}
SCSS
$custom: #799a21;
$custom-light: #a3b767;
$custom-dark: #000000;
JSON
{
  "hex": "#799a21",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63899,
    "c": 0.14675,
    "h": 124.3
  },
  "luminance": 0.27286
}

Semantic roles & 50–950 ramp

primary
#799A21
secondary
#7457C0
accent
#40E86E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799A21

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

Preview Lab → · Contrast checker → · Palette generator →

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