#799221#799221

#799221 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.137 H 121.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#799221
RGBrgb(121, 146, 33)
HSLhsl(73, 63%, 35%)
HSVhsv(73, 77%, 57%)
CMYKcmyk(17.1%, 0%, 77.4%, 42.7%)
CIE-LABlab(56.81, -24.41, 52.79)
CIE-LCHlch(56.81, 58.16, 114.81°)
OKLaboklab(61.94% -0.0719 0.1165)
OKLCHoklch(61.94% 0.137 121.7)
XYZxyz(18.4389, 24.7325, 5.2410)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799221 #3A2192
analogous
#927221 #799221 #419221
triadic
#799221 #217992 #922179
tetradic
#799221 #219272 #3A2192 #922141
square
#799221 #219272 #3A2192 #922141
split-complementary
#799221 #214192 #722192
monochromatic
#262E0A #506016 #799221 #A2C42C #BBD955

Accessibility & contrast

On white

3.53
#799221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#799221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799221
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799221#FFFFFF#000000##000000
##7992211.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8905
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799221;
/* rgb */ color: rgb(121, 146, 33);
/* oklch */ color: oklch(61.9% 0.137 121.7);
Tailwind
colors: {
  custom: {
    50: '#a3b266',
    500: '#799221',
    950: '#000000',
  },
}
SCSS
$custom: #799221;
$custom-light: #a3b266;
$custom-dark: #000000;
JSON
{
  "hex": "#799221",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 73.274,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.1369,
    "h": 121.7
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

primary
#799221
secondary
#6A53BC
accent
#42E666
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799221

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

Preview Lab → · Contrast checker → · Palette generator →

#799221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva