#799A22#799A22

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

Color values

HEX#799A22
RGBrgb(121, 154, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 60%)
CMYKcmyk(21.4%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.24, -28.27, 54.73)
CIE-LCHlch(59.24, 61.60, 117.32°)
OKLaboklab(63.91% -0.0824 0.1208)
OKLCHoklch(63.91% 0.146 124.3)
XYZxyz(19.7297, 27.2915, 5.7414)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A22 #43229A
analogous
#9A7F22 #799A22 #3D9A22
triadic
#799A22 #22799A #9A2279
tetradic
#799A22 #229A7F #43229A #9A223D
square
#799A22 #229A7F #43229A #9A223D
split-complementary
#799A22 #223D9A #7F229A
monochromatic
#2A360C #526817 #799A22 #A0CC2D #B8DB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A22#FFFFFF#000000##000000
##799A221.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)
#A39002
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#7F9284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a22;
/* rgb */ color: rgb(121, 154, 34);
/* oklch */ color: oklch(63.9% 0.146 124.3);
Tailwind
colors: {
  custom: {
    50: '#a3b767',
    500: '#799a22',
    950: '#000000',
  },
}
SCSS
$custom: #799a22;
$custom-light: #a3b767;
$custom-dark: #000000;
JSON
{
  "hex": "#799a22",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 76.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.14621,
    "h": 124.3
  },
  "luminance": 0.27292
}

Semantic roles & 50–950 ramp

primary
#799A22
secondary
#7558BF
accent
#41E76F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #799A22

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

Preview Lab → · Contrast checker → · Palette generator →

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