#7AB040#7AB040

#7AB040 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.6% C 0.154 H 131.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7AB040
RGBrgb(122, 176, 64)
HSLhsl(89, 47%, 47%)
HSVhsv(89, 64%, 69%)
CMYKcmyk(30.7%, 0%, 63.6%, 31%)
CIE-LABlab(66.18, -36.12, 50.20)
CIE-LCHlch(66.18, 61.84, 125.74°)
OKLaboklab(69.62% -0.1015 0.1156)
OKLCHoklch(69.62% 0.154 131.3)
XYZxyz(24.4765, 35.5576, 10.4232)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB040 #7640B0
analogous
#B0AE40 #7AB040 #42B040
triadic
#7AB040 #407AB0 #B0407A
tetradic
#7AB040 #40B0AE #7640B0 #B04042
square
#7AB040 #40B0AE #7640B0 #B04042
split-complementary
#7AB040 #4042B0 #AE40B0
monochromatic
#3C561F #5B8330 #7AB040 #98C766 #B6D893

Accessibility & contrast

On white

2.59
#7AB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#7AB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB040
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB040#FFFFFF#000000##000000
##7AB0401.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#B09F49
Tritanopia (blue-blind)
#7CA999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab040;
/* rgb */ color: rgb(122, 176, 64);
/* oklch */ color: oklch(69.6% 0.154 131.3);
Tailwind
colors: {
  custom: {
    50: '#a4c87a',
    500: '#7ab040',
    950: '#000000',
  },
}
SCSS
$custom: #7ab040;
$custom-light: #a4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab040",
  "rgb": {
    "r": 122,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 88.929,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69618,
    "c": 0.15384,
    "h": 131.3
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#7AB040
secondary
#A589C3
accent
#51D692
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB040

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

Preview Lab → · Contrast checker → · Palette generator →

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