#7AA22A#7AA22A

#7AA22A is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.151 H 126.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7AA22A
RGBrgb(122, 162, 42)
HSLhsl(80, 59%, 40%)
HSVhsv(80, 74%, 64%)
CMYKcmyk(24.7%, 0%, 74.1%, 36.5%)
CIE-LABlab(61.78, -31.25, 54.43)
CIE-LCHlch(61.78, 62.76, 119.86°)
OKLaboklab(65.99% -0.09 0.1214)
OKLCHoklch(65.99% 0.151 126.5)
XYZxyz(21.3644, 30.1450, 6.8830)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA22A #522AA2
analogous
#A28E2A #7AA22A #3EA22A
triadic
#7AA22A #2A7AA2 #A22A7A
tetradic
#7AA22A #2AA28E #522AA2 #A22A3E
square
#7AA22A #2AA28E #522AA2 #A22A3E
split-complementary
#7AA22A #2A3EA2 #8E2AA2
monochromatic
#314111 #55711D #7AA22A #9DCD3D #B5D96D

Accessibility & contrast

On white

2.99
#7AA22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7AA22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA22A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA22A#FFFFFF#000000##000000
##7AA22A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#A59535
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa22a;
/* rgb */ color: rgb(122, 162, 42);
/* oklch */ color: oklch(66.0% 0.151 126.5);
Tailwind
colors: {
  custom: {
    50: '#a4bd6c',
    500: '#7aa22a',
    950: '#000000',
  },
}
SCSS
$custom: #7aa22a;
$custom-light: #a4bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa22a",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.65991,
    "c": 0.15112,
    "h": 126.5
  },
  "luminance": 0.30145
}

Semantic roles & 50–950 ramp

primary
#7AA22A
secondary
#8568C0
accent
#46E27A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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