#799B21#799B21

#799B21 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.148 H 124.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#799B21
RGBrgb(121, 155, 33)
HSLhsl(77, 65%, 37%)
HSVhsv(77, 79%, 61%)
CMYKcmyk(21.9%, 0%, 78.7%, 39.2%)
CIE-LABlab(59.54, -28.80, 55.33)
CIE-LCHlch(59.54, 62.38, 117.50°)
OKLaboklab(64.15% -0.084 0.1219)
OKLCHoklch(64.15% 0.148 124.6)
XYZxyz(19.8812, 27.6172, 5.7218)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B21 #43219B
analogous
#9B8021 #799B21 #3C9B21
triadic
#799B21 #21799B #9B2179
tetradic
#799B21 #219B80 #43219B #9B213C
square
#799B21 #219B80 #43219B #9B213C
split-complementary
#799B21 #213C9B #80219B
monochromatic
#2A360C #526916 #799B21 #A0CD2C #B8DC5A

Accessibility & contrast

On white

3.22
#799B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#799B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B21
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B21#FFFFFF#000000##000000
##799B211.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b21;
/* rgb */ color: rgb(121, 155, 33);
/* oklch */ color: oklch(64.1% 0.148 124.6);
Tailwind
colors: {
  custom: {
    50: '#a3b867',
    500: '#799b21',
    950: '#000000',
  },
}
SCSS
$custom: #799b21;
$custom-light: #a3b867;
$custom-dark: #000000;
JSON
{
  "hex": "#799b21",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 76.721,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64145,
    "c": 0.14798,
    "h": 124.6
  },
  "luminance": 0.27617
}

Semantic roles & 50–950 ramp

primary
#799B21
secondary
#7558C0
accent
#40E86F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799B21

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

Preview Lab → · Contrast checker → · Palette generator →

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