#7AB158#7AB158

#7AB158 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.2% C 0.134 H 134.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7AB158
RGBrgb(122, 177, 88)
HSLhsl(97, 36%, 52%)
HSVhsv(97, 50%, 69%)
CMYKcmyk(31.1%, 0%, 50.3%, 30.6%)
CIE-LABlab(66.74, -34.11, 39.61)
CIE-LCHlch(66.74, 52.27, 130.73°)
OKLaboklab(70.15% -0.0941 0.095)
OKLCHoklch(70.15% 0.134 134.7)
XYZxyz(25.5091, 36.2855, 14.8904)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB158 #8F58B1
analogous
#A7B158 #7AB158 #58B163
triadic
#7AB158 #587AB1 #B1587A
tetradic
#7AB158 #58A7B1 #8F58B1 #B16358
square
#7AB158 #58A7B1 #8F58B1 #B16358
split-complementary
#7AB158 #6358B1 #B158A7
monochromatic
#41612D #5D8B41 #7AB158 #9BC482 #BCD8AB

Accessibility & contrast

On white

2.54
#7AB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#7AB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB158
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB158#FFFFFF#000000##000000
##7AB1581.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A550
Deuteranopia (green-blind)
#AFA15E
Tritanopia (blue-blind)
#7AAB9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab158;
/* rgb */ color: rgb(122, 177, 88);
/* oklch */ color: oklch(70.2% 0.134 134.7);
Tailwind
colors: {
  custom: {
    50: '#a3c889',
    500: '#7ab158',
    950: '#000000',
  },
}
SCSS
$custom: #7ab158;
$custom-light: #a3c889;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab158",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 97.079,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70153,
    "c": 0.13372,
    "h": 134.7
  },
  "luminance": 0.36286
}

Semantic roles & 50–950 ramp

primary
#7AB158
secondary
#B79FC6
accent
#5BCCA1
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7AB158

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

Preview Lab → · Contrast checker → · Palette generator →

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