#7AB540#7AB540

#7AB540 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 70.8% C 0.161 H 132.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7AB540
RGBrgb(122, 181, 64)
HSLhsl(90, 48%, 48%)
HSVhsv(90, 65%, 71%)
CMYKcmyk(32.6%, 0%, 64.6%, 29%)
CIE-LABlab(67.69, -38.36, 51.84)
CIE-LCHlch(67.69, 64.49, 126.50°)
OKLaboklab(70.85% -0.1076 0.1191)
OKLCHoklch(70.85% 0.161 132.1)
XYZxyz(25.4750, 37.5546, 10.7560)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB540 #7B40B5
analogous
#B4B540 #7AB540 #40B540
triadic
#7AB540 #407AB5 #B5407A
tetradic
#7AB540 #40B4B5 #7B40B5 #B54040
square
#7AB540 #40B4B5 #7B40B5 #B54040
split-complementary
#7AB540 #4040B5 #B540B4
monochromatic
#3D5B20 #5C8830 #7AB540 #99CA68 #B7DA96

Accessibility & contrast

On white

2.47
#7AB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7AB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB540
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB540#FFFFFF#000000##000000
##7AB5401.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#7BAE9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ab540;
/* rgb */ color: rgb(122, 181, 64);
/* oklch */ color: oklch(70.8% 0.161 132.1);
Tailwind
colors: {
  custom: {
    50: '#a4cb7a',
    500: '#7ab540',
    950: '#000000',
  },
}
SCSS
$custom: #7ab540;
$custom-light: #a4cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab540",
  "rgb": {
    "r": 122,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 90.256,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70847,
    "c": 0.16052,
    "h": 132.1
  },
  "luminance": 0.37555
}

Semantic roles & 50–950 ramp

primary
#7AB540
secondary
#A98BC5
accent
#50D794
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7AB540

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

Preview Lab → · Contrast checker → · Palette generator →

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