#7AC42A#7AC42A

#7AC42A is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 74.4% C 0.193 H 132.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7AC42A
RGBrgb(122, 196, 42)
HSLhsl(89, 65%, 47%)
HSVhsv(89, 79%, 77%)
CMYKcmyk(37.8%, 0%, 78.6%, 23.1%)
CIE-LABlab(72.08, -46.25, 64.25)
CIE-LCHlch(72.08, 79.16, 125.75°)
OKLaboklab(74.39% -0.1307 0.142)
OKLCHoklch(74.39% 0.193 132.6)
XYZxyz(28.1835, 43.7833, 9.1561)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AC42A #742AC4
analogous
#C4C12A #7AC42A #2DC42A
triadic
#7AC42A #2A7AC4 #C42A7A
tetradic
#7AC42A #2AC4C1 #742AC4 #C42A2D
square
#7AC42A #2AC4C1 #742AC4 #C42A2D
split-complementary
#7AC42A #2A2DC4 #C12AC4
monochromatic
#3B5F14 #5B921F #7AC42A #98DA51 #B6E584

Accessibility & contrast

On white

2.15
#7AC42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#7AC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AC42A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AC42A#FFFFFF#000000##000000
##7AC42A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#7BBCA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7ac42a;
/* rgb */ color: rgb(122, 196, 42);
/* oklch */ color: oklch(74.4% 0.193 132.6);
Tailwind
colors: {
  custom: {
    50: '#a6d670',
    500: '#7ac42a',
    950: '#000000',
  },
}
SCSS
$custom: #7ac42a;
$custom-light: #a6d670;
$custom-dark: #000000;
JSON
{
  "hex": "#7ac42a",
  "rgb": {
    "r": 122,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 88.831,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74385,
    "c": 0.19298,
    "h": 132.6
  },
  "luminance": 0.43785
}

Semantic roles & 50–950 ramp

primary
#7AC42A
secondary
#A37CCE
accent
#40E891
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7AC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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