#7AB138#7AB138

#7AB138 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.8% C 0.161 H 130.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7AB138
RGBrgb(122, 177, 56)
HSLhsl(87, 52%, 46%)
HSVhsv(87, 68%, 69%)
CMYKcmyk(31.1%, 0%, 68.4%, 30.6%)
CIE-LABlab(66.42, -37.21, 53.79)
CIE-LCHlch(66.42, 65.40, 124.67°)
OKLaboklab(69.79% -0.1051 0.1222)
OKLCHoklch(69.79% 0.161 130.7)
XYZxyz(24.4618, 35.8666, 9.3747)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB138 #6F38B1
analogous
#B1AB38 #7AB138 #3DB138
triadic
#7AB138 #387AB1 #B1387A
tetradic
#7AB138 #38B1AB #6F38B1 #B1383D
square
#7AB138 #38B1AB #6F38B1 #B1383D
split-complementary
#7AB138 #383DB1 #AB38B1
monochromatic
#3A541B #5A8329 #7AB138 #98CB5B #B5DA8A

Accessibility & contrast

On white

2.57
#7AB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7AB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB138
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB138#FFFFFF#000000##000000
##7AB1381.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#B1A042
Tritanopia (blue-blind)
#7DAA99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab138;
/* rgb */ color: rgb(122, 177, 56);
/* oklch */ color: oklch(69.8% 0.161 130.7);
Tailwind
colors: {
  custom: {
    50: '#a4c875',
    500: '#7ab138',
    950: '#000000',
  },
}
SCSS
$custom: #7ab138;
$custom-light: #a4c875;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab138",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 87.273,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.16115,
    "h": 130.7
  },
  "luminance": 0.35867
}

Semantic roles & 50–950 ramp

primary
#7AB138
secondary
#9F81C4
accent
#4CDB8D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB138

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

Preview Lab → · Contrast checker → · Palette generator →

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