#7AB940#7AB940

#7AB940 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 71.8% C 0.166 H 132.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7AB940
RGBrgb(122, 185, 64)
HSLhsl(91, 49%, 49%)
HSVhsv(91, 65%, 73%)
CMYKcmyk(34.1%, 0%, 65.4%, 27.5%)
CIE-LABlab(68.90, -40.13, 53.14)
CIE-LCHlch(68.90, 66.59, 127.06°)
OKLaboklab(71.83% -0.1124 0.1219)
OKLCHoklch(71.83% 0.166 132.7)
XYZxyz(26.3000, 39.2046, 11.0310)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB940 #7F40B9
analogous
#B7B940 #7AB940 #40B943
triadic
#7AB940 #407AB9 #B9407A
tetradic
#7AB940 #40B7B9 #7F40B9 #B94340
square
#7AB940 #40B7B9 #7F40B9 #B94340
split-complementary
#7AB940 #4340B9 #B940B7
monochromatic
#3E5E21 #5C8C30 #7AB940 #99CC6B #B8DB98

Accessibility & contrast

On white

2.38
#7AB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#7AB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB940
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB940#FFFFFF#000000##000000
##7AB9401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#7BB2A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7ab940;
/* rgb */ color: rgb(122, 185, 64);
/* oklch */ color: oklch(71.8% 0.166 132.7);
Tailwind
colors: {
  custom: {
    50: '#a5ce7a',
    500: '#7ab940',
    950: '#000000',
  },
}
SCSS
$custom: #7ab940;
$custom-light: #a5ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab940",
  "rgb": {
    "r": 122,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 91.24,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71831,
    "c": 0.16581,
    "h": 132.7
  },
  "luminance": 0.39206
}

Semantic roles & 50–950 ramp

primary
#7AB940
secondary
#AC8EC7
accent
#50D897
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7AB940

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

Preview Lab → · Contrast checker → · Palette generator →

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