#7AB128#7AB128

#7AB128 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.7% C 0.171 H 129.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7AB128
RGBrgb(122, 177, 40)
HSLhsl(84, 63%, 43%)
HSVhsv(84, 77%, 69%)
CMYKcmyk(31.1%, 0%, 77.4%, 30.6%)
CIE-LABlab(66.32, -38.21, 59.46)
CIE-LCHlch(66.32, 70.68, 122.72°)
OKLaboklab(69.68% -0.1091 0.1317)
OKLCHoklch(69.68% 0.171 129.6)
XYZxyz(24.1311, 35.7343, 7.6331)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB128 #5F28B1
analogous
#B1A428 #7AB128 #35B128
triadic
#7AB128 #287AB1 #B1287A
tetradic
#7AB128 #28B1A4 #5F28B1 #B12835
square
#7AB128 #28B1A4 #5F28B1 #B12835
split-complementary
#7AB128 #2835B1 #A428B1
monochromatic
#354D11 #587F1D #7AB128 #9AD442 #B4E074

Accessibility & contrast

On white

2.58
#7AB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#7AB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB128
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB128#FFFFFF#000000##000000
##7AB1281.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A401
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#7DA997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab128;
/* rgb */ color: rgb(122, 177, 40);
/* oklch */ color: oklch(69.7% 0.171 129.6);
Tailwind
colors: {
  custom: {
    50: '#a5c86d',
    500: '#7ab128',
    950: '#000000',
  },
}
SCSS
$custom: #7ab128;
$custom-light: #a5c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab128",
  "rgb": {
    "r": 122,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 84.088,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.17096,
    "h": 129.6
  },
  "luminance": 0.35735
}

Semantic roles & 50–950 ramp

primary
#7AB128
secondary
#926EC7
accent
#42E684
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB128

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

Preview Lab → · Contrast checker → · Palette generator →

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