#7AB942#7AB942

#7AB942 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 71.9% C 0.164 H 132.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7AB942
RGBrgb(122, 185, 66)
HSLhsl(92, 47%, 49%)
HSVhsv(92, 64%, 73%)
CMYKcmyk(34.1%, 0%, 64.3%, 27.5%)
CIE-LABlab(68.92, -39.96, 52.32)
CIE-LCHlch(68.92, 65.83, 127.37°)
OKLaboklab(71.85% -0.1118 0.1204)
OKLCHoklch(71.85% 0.164 132.9)
XYZxyz(26.3580, 39.2278, 11.3362)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB942 #8142B9
analogous
#B6B942 #7AB942 #42B946
triadic
#7AB942 #427AB9 #B9427A
tetradic
#7AB942 #42B6B9 #8142B9 #B94642
square
#7AB942 #42B6B9 #8142B9 #B94642
split-complementary
#7AB942 #4642B9 #B942B6
monochromatic
#3F5F22 #5C8C32 #7AB942 #99CB6D #B9DB9A

Accessibility & contrast

On white

2.37
#7AB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7AB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB942
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB942#FFFFFF#000000##000000
##7AB9421.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ab942;
/* rgb */ color: rgb(122, 185, 66);
/* oklch */ color: oklch(71.9% 0.164 132.9);
Tailwind
colors: {
  custom: {
    50: '#a5ce7c',
    500: '#7ab942',
    950: '#000000',
  },
}
SCSS
$custom: #7ab942;
$custom-light: #a5ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab942",
  "rgb": {
    "r": 122,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 91.765,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7185,
    "c": 0.16429,
    "h": 132.9
  },
  "luminance": 0.39229
}

Semantic roles & 50–950 ramp

primary
#7AB942
secondary
#AD90C7
accent
#51D798
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7AB942

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

Preview Lab → · Contrast checker → · Palette generator →

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