#7AC940#7AC940

#7AC940 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 75.8% C 0.186 H 134.6°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7AC940
RGBrgb(122, 201, 64)
HSLhsl(95, 56%, 52%)
HSVhsv(95, 68%, 79%)
CMYKcmyk(39.3%, 0%, 68.2%, 21.2%)
CIE-LABlab(73.73, -46.94, 58.25)
CIE-LCHlch(73.73, 74.81, 128.86°)
OKLaboklab(75.77% -0.131 0.1326)
OKLCHoklch(75.77% 0.186 134.6)
XYZxyz(29.8375, 46.2795, 12.2102)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AC940 #8F40C9
analogous
#BEC940 #7AC940 #40C94B
triadic
#7AC940 #407AC9 #C9407A
tetradic
#7AC940 #40BEC9 #8F40C9 #C94B40
square
#7AC940 #40BEC9 #8F40C9 #C94B40
split-complementary
#7AC940 #4B40C9 #C940BE
monochromatic
#416F1F #5D9F2D #7AC940 #9BD670 #BCE49F

Accessibility & contrast

On white

2.05
#7AC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#7AC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AC940
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AC940#FFFFFF#000000##000000
##7AC9401.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#79C1AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7ac940;
/* rgb */ color: rgb(122, 201, 64);
/* oklch */ color: oklch(75.8% 0.186 134.6);
Tailwind
colors: {
  custom: {
    50: '#a6da7c',
    500: '#7ac940',
    950: '#000000',
  },
}
SCSS
$custom: #7ac940;
$custom-light: #a6da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ac940",
  "rgb": {
    "r": 122,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 94.599,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.1864,
    "h": 134.6
  },
  "luminance": 0.46281
}

Semantic roles & 50–950 ramp

primary
#7AC940
secondary
#B794D0
accent
#49DF9F
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7AC940

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

Preview Lab → · Contrast checker → · Palette generator →

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