#7AB52A#7AB52A

#7AB52A is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.7% C 0.175 H 130.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7AB52A
RGBrgb(122, 181, 42)
HSLhsl(85, 62%, 44%)
HSVhsv(85, 77%, 71%)
CMYKcmyk(32.6%, 0%, 76.8%, 29%)
CIE-LABlab(67.54, -39.87, 59.97)
CIE-LCHlch(67.54, 72.02, 123.61°)
OKLaboklab(70.68% -0.1134 0.1331)
OKLCHoklch(70.68% 0.175 130.4)
XYZxyz(24.9677, 37.3516, 8.0841)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB52A #652AB5
analogous
#B5AA2A #7AB52A #34B52A
triadic
#7AB52A #2A7AB5 #B52A7A
tetradic
#7AB52A #2AB5AA #652AB5 #B52A34
square
#7AB52A #2AB5AA #652AB5 #B52A34
split-complementary
#7AB52A #2A34B5 #AA2AB5
monochromatic
#375213 #59831E #7AB52A #99D448 #B4E079

Accessibility & contrast

On white

2.48
#7AB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#7AB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB52A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB52A#FFFFFF#000000##000000
##7AB52A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA705
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#7DAD9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7ab52a;
/* rgb */ color: rgb(122, 181, 42);
/* oklch */ color: oklch(70.7% 0.175 130.4);
Tailwind
colors: {
  custom: {
    50: '#a5cb6f',
    500: '#7ab52a',
    950: '#000000',
  },
}
SCSS
$custom: #7ab52a;
$custom-light: #a5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab52a",
  "rgb": {
    "r": 122,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 85.468,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.17483,
    "h": 130.4
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

primary
#7AB52A
secondary
#9773C8
accent
#42E588
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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