#7AA22C#7AA22C

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

Color values

HEX#7AA22C
RGBrgb(122, 162, 44)
HSLhsl(80, 57%, 40%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(24.7%, 0%, 72.8%, 36.5%)
CIE-LABlab(61.79, -31.13, 53.71)
CIE-LCHlch(61.79, 62.08, 120.09°)
OKLaboklab(66.01% -0.0895 0.1202)
OKLCHoklch(66.01% 0.15 126.7)
XYZxyz(21.4011, 30.1597, 7.0763)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA22C #542CA2
analogous
#A28F2C #7AA22C #3FA22C
triadic
#7AA22C #2C7AA2 #A22C7A
tetradic
#7AA22C #2CA28F #542CA2 #A22C3F
square
#7AA22C #2CA28F #542CA2 #A22C3F
split-complementary
#7AA22C #2C3FA2 #8F2CA2
monochromatic
#324212 #56721F #7AA22C #9CCB40 #B5D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA22C#FFFFFF#000000##000000
##7AA22C1.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)
#AB9717
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa22c;
/* rgb */ color: rgb(122, 162, 44);
/* oklch */ color: oklch(66.0% 0.150 126.7);
Tailwind
colors: {
  custom: {
    50: '#a4bd6d',
    500: '#7aa22c',
    950: '#000000',
  },
}
SCSS
$custom: #7aa22c;
$custom-light: #a4bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa22c",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 80.339,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.14988,
    "h": 126.7
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#7AA22C
secondary
#876ABF
accent
#47E17B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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