#7AB42E#7AB42E

#7AB42E is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.171 H 130.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7AB42E
RGBrgb(122, 180, 46)
HSLhsl(86, 59%, 44%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(32.2%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.26, -39.20, 58.37)
CIE-LCHlch(67.26, 70.31, 123.89°)
OKLaboklab(70.45% -0.1113 0.1303)
OKLCHoklch(70.45% 0.171 130.5)
XYZxyz(24.8403, 36.9765, 8.4126)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB42E #682EB4
analogous
#B4AB2E #7AB42E #37B42E
triadic
#7AB42E #2E7AB4 #B42E7A
tetradic
#7AB42E #2EB4AB #682EB4 #B42E37
square
#7AB42E #2EB4AB #682EB4 #B42E37
split-complementary
#7AB42E #2E37B4 #AB2EB4
monochromatic
#385315 #598322 #7AB42E #98D24E #B5DE7E

Accessibility & contrast

On white

2.50
#7AB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#7AB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB42E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB42E#FFFFFF#000000##000000
##7AB42E1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA612
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#7DAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ab42e;
/* rgb */ color: rgb(122, 180, 46);
/* oklch */ color: oklch(70.5% 0.171 130.5);
Tailwind
colors: {
  custom: {
    50: '#a5cb70',
    500: '#7ab42e',
    950: '#000000',
  },
}
SCSS
$custom: #7ab42e;
$custom-light: #a5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab42e",
  "rgb": {
    "r": 122,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 85.97,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70454,
    "c": 0.17138,
    "h": 130.5
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#7AB42E
secondary
#9A77C7
accent
#45E289
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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