#799222#799222

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

Color values

HEX#799222
RGBrgb(121, 146, 34)
HSLhsl(73, 62%, 35%)
HSVhsv(73, 77%, 57%)
CMYKcmyk(17.1%, 0%, 76.7%, 42.7%)
CIE-LABlab(56.82, -24.36, 52.45)
CIE-LCHlch(56.82, 57.83, 114.91°)
OKLaboklab(61.95% -0.0717 0.116)
OKLCHoklch(61.95% 0.136 121.7)
XYZxyz(18.4531, 24.7382, 5.3159)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799222 #3B2292
analogous
#927322 #799222 #419222
triadic
#799222 #227992 #922279
tetradic
#799222 #229273 #3B2292 #922241
square
#799222 #229273 #3B2292 #922241
split-complementary
#799222 #224192 #732292
monochromatic
#272F0B #506016 #799222 #A2C42E #BBD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799222#FFFFFF#000000##000000
##7992221.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)
#9B8907
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#808A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #799222;
/* rgb */ color: rgb(121, 146, 34);
/* oklch */ color: oklch(61.9% 0.136 121.7);
Tailwind
colors: {
  custom: {
    50: '#a3b266',
    500: '#799222',
    950: '#000000',
  },
}
SCSS
$custom: #799222;
$custom-light: #a3b266;
$custom-dark: #000000;
JSON
{
  "hex": "#799222",
  "rgb": {
    "r": 121,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 73.393,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.13634,
    "h": 121.7
  },
  "luminance": 0.24738
}

Semantic roles & 50–950 ramp

primary
#799222
secondary
#6B54BC
accent
#43E567
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #799222

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

Preview Lab → · Contrast checker → · Palette generator →

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