#7AB22F#7AB22F

#7AB22F is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.168 H 130.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7AB22F
RGBrgb(122, 178, 47)
HSLhsl(86, 58%, 44%)
HSVhsv(86, 74%, 70%)
CMYKcmyk(31.5%, 0%, 73.6%, 30.2%)
CIE-LABlab(66.66, -38.26, 57.43)
CIE-LCHlch(66.66, 69.01, 123.67°)
OKLaboklab(69.97% -0.1087 0.1285)
OKLCHoklch(69.97% 0.168 130.2)
XYZxyz(24.4594, 36.1828, 8.3841)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB22F #672FB2
analogous
#B2A92F #7AB22F #39B22F
triadic
#7AB22F #2F7AB2 #B22F7A
tetradic
#7AB22F #2FB2A9 #672FB2 #B22F39
square
#7AB22F #2FB2A9 #672FB2 #B22F39
split-complementary
#7AB22F #2F39B2 #A92FB2
monochromatic
#385115 #598222 #7AB22F #99D04E #B5DD7E

Accessibility & contrast

On white

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

On black

8.24
#7AB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB22F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB22F#FFFFFF#000000##000000
##7AB22F1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA515
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#7DAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab22f;
/* rgb */ color: rgb(122, 178, 47);
/* oklch */ color: oklch(70.0% 0.168 130.2);
Tailwind
colors: {
  custom: {
    50: '#a5c971',
    500: '#7ab22f',
    950: '#000000',
  },
}
SCSS
$custom: #7ab22f;
$custom-light: #a5c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab22f",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 85.649,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.16829,
    "h": 130.2
  },
  "luminance": 0.36184
}

Semantic roles & 50–950 ramp

primary
#7AB22F
secondary
#9977C6
accent
#46E189
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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