#7AB22A#7AB22A

#7AB22A is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 69.9% C 0.171 H 129.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7AB22A
RGBrgb(122, 178, 42)
HSLhsl(85, 62%, 43%)
HSVhsv(85, 76%, 70%)
CMYKcmyk(31.5%, 0%, 76.4%, 30.2%)
CIE-LABlab(66.63, -38.55, 59.11)
CIE-LCHlch(66.63, 70.57, 123.11°)
OKLaboklab(69.93% -0.1098 0.1312)
OKLCHoklch(69.93% 0.171 129.9)
XYZxyz(24.3642, 36.1448, 7.8830)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB22A #622AB2
analogous
#B2A62A #7AB22A #36B22A
triadic
#7AB22A #2A7AB2 #B22A7A
tetradic
#7AB22A #2AB2A6 #622AB2 #B22A36
square
#7AB22A #2AB2A6 #622AB2 #B22A36
split-complementary
#7AB22A #2A36B2 #A62AB2
monochromatic
#364F13 #58801E #7AB22A #99D346 #B4DF77

Accessibility & contrast

On white

2.55
#7AB22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#7AB22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB22A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB22A#FFFFFF#000000##000000
##7AB22A1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA507
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#7DAA98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab22a;
/* rgb */ color: rgb(122, 178, 42);
/* oklch */ color: oklch(69.9% 0.171 129.9);
Tailwind
colors: {
  custom: {
    50: '#a5c96e',
    500: '#7ab22a',
    950: '#000000',
  },
}
SCSS
$custom: #7ab22a;
$custom-light: #a5c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab22a",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 84.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69934,
    "c": 0.17113,
    "h": 129.9
  },
  "luminance": 0.36146
}

Semantic roles & 50–950 ramp

primary
#7AB22A
secondary
#9471C7
accent
#43E586
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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