#7AA822#7AA822

#7AA822 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.4% C 0.163 H 127.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7AA822
RGBrgb(122, 168, 34)
HSLhsl(81, 66%, 40%)
HSVhsv(81, 80%, 66%)
CMYKcmyk(27.4%, 0%, 79.8%, 34.1%)
CIE-LABlab(63.56, -34.45, 58.74)
CIE-LCHlch(63.56, 68.10, 120.39°)
OKLaboklab(67.42% -0.0993 0.1292)
OKLCHoklch(67.42% 0.163 127.5)
XYZxyz(22.3175, 32.2578, 6.5636)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA822 #5022A8
analogous
#A89322 #7AA822 #37A822
triadic
#7AA822 #227AA8 #A8227A
tetradic
#7AA822 #22A893 #5022A8 #A82237
square
#7AA822 #22A893 #5022A8 #A82237
split-complementary
#7AA822 #2237A8 #9322A8
monochromatic
#30420D #557518 #7AA822 #9DD532 #B5E065

Accessibility & contrast

On white

2.82
#7AA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7AA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA822
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA822#FFFFFF#000000##000000
##7AA8221.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#7FA08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7aa822;
/* rgb */ color: rgb(122, 168, 34);
/* oklch */ color: oklch(67.4% 0.163 127.5);
Tailwind
colors: {
  custom: {
    50: '#a5c269',
    500: '#7aa822',
    950: '#000000',
  },
}
SCSS
$custom: #7aa822;
$custom-light: #a5c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa822",
  "rgb": {
    "r": 122,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 80.597,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67419,
    "c": 0.16294,
    "h": 127.5
  },
  "luminance": 0.32258
}

Semantic roles & 50–950 ramp

primary
#7AA822
secondary
#8361C5
accent
#3FE979
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA822

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

Preview Lab → · Contrast checker → · Palette generator →

#7AA822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva