#7AB142#7AB142

#7AB142 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.9% C 0.154 H 131.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7AB142
RGBrgb(122, 177, 66)
HSLhsl(90, 46%, 48%)
HSVhsv(90, 63%, 69%)
CMYKcmyk(31.1%, 0%, 62.7%, 30.6%)
CIE-LABlab(66.50, -36.40, 49.68)
CIE-LCHlch(66.50, 61.59, 126.23°)
OKLaboklab(69.88% -0.1021 0.1148)
OKLCHoklch(69.88% 0.154 131.6)
XYZxyz(24.7313, 35.9744, 10.7939)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB142 #7942B1
analogous
#B1B142 #7AB142 #42B142
triadic
#7AB142 #427AB1 #B1427A
tetradic
#7AB142 #42B1B1 #7942B1 #B14242
square
#7AB142 #42B1B1 #7942B1 #B14242
split-complementary
#7AB142 #4242B1 #B142B1
monochromatic
#3D5821 #5B8431 #7AB142 #99C769 #B7D896

Accessibility & contrast

On white

2.56
#7AB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#7AB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB142
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB142#FFFFFF#000000##000000
##7AB1421.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#B1A04A
Tritanopia (blue-blind)
#7CAA9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab142;
/* rgb */ color: rgb(122, 177, 66);
/* oklch */ color: oklch(69.9% 0.154 131.6);
Tailwind
colors: {
  custom: {
    50: '#a4c87b',
    500: '#7ab142',
    950: '#000000',
  },
}
SCSS
$custom: #7ab142;
$custom-light: #a4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab142",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 89.73,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69884,
    "c": 0.15359,
    "h": 131.6
  },
  "luminance": 0.35975
}

Semantic roles & 50–950 ramp

primary
#7AB142
secondary
#A78BC3
accent
#52D593
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F130A
muted
#7F827C

Preview Lab

Preview with #7AB142

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

Preview Lab → · Contrast checker → · Palette generator →

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