#799E21#799E21

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

Color values

HEX#799E21
RGBrgb(121, 158, 33)
HSLhsl(78, 65%, 37%)
HSVhsv(78, 79%, 62%)
CMYKcmyk(23.4%, 0%, 79.1%, 38%)
CIE-LABlab(60.45, -30.24, 56.17)
CIE-LCHlch(60.45, 63.79, 118.29°)
OKLaboklab(64.88% -0.0879 0.1236)
OKLCHoklch(64.88% 0.152 125.4)
XYZxyz(20.3867, 28.6282, 5.8903)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E21 #46219E
analogous
#9E8521 #799E21 #3B9E21
triadic
#799E21 #21799E #9E2179
tetradic
#799E21 #219E85 #46219E #9E213B
square
#799E21 #219E85 #46219E #9E213B
split-complementary
#799E21 #213B9E #85219E
monochromatic
#2B390C #526B16 #799E21 #A0D12C #B7DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E21#FFFFFF#000000##000000
##799E211.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)
#A2912E
Tritanopia (blue-blind)
#7F9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e21;
/* rgb */ color: rgb(121, 158, 33);
/* oklch */ color: oklch(64.9% 0.152 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4ba67',
    500: '#799e21',
    950: '#000000',
  },
}
SCSS
$custom: #799e21;
$custom-light: #a4ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#799e21",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 77.76,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.15167,
    "h": 125.4
  },
  "luminance": 0.28628
}

Semantic roles & 50–950 ramp

primary
#799E21
secondary
#7859C1
accent
#3FE871
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799E21

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

Preview Lab → · Contrast checker → · Palette generator →

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