#7AB52F#7AB52F

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

Color values

HEX#7AB52F
RGBrgb(122, 181, 47)
HSLhsl(86, 59%, 45%)
HSVhsv(86, 74%, 71%)
CMYKcmyk(32.6%, 0%, 74%, 29%)
CIE-LABlab(67.57, -39.58, 58.32)
CIE-LCHlch(67.57, 70.48, 124.16°)
OKLaboklab(70.71% -0.1123 0.1304)
OKLCHoklch(70.71% 0.172 130.7)
XYZxyz(25.0628, 37.3897, 8.5852)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB52F #6A2FB5
analogous
#B5AD2F #7AB52F #37B52F
triadic
#7AB52F #2F7AB5 #B52F7A
tetradic
#7AB52F #2FB5AD #6A2FB5 #B52F37
square
#7AB52F #2FB5AD #6A2FB5 #B52F37
split-complementary
#7AB52F #2F37B5 #AD2FB5
monochromatic
#395416 #598422 #7AB52F #98D150 #B5DE80

Accessibility & contrast

On white

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

On black

8.48
#7AB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB52F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB52F#FFFFFF#000000##000000
##7AB52F1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#7DAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7ab52f;
/* rgb */ color: rgb(122, 181, 47);
/* oklch */ color: oklch(70.7% 0.172 130.7);
Tailwind
colors: {
  custom: {
    50: '#a5cb71',
    500: '#7ab52f',
    950: '#000000',
  },
}
SCSS
$custom: #7ab52f;
$custom-light: #a5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab52f",
  "rgb": {
    "r": 122,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 86.418,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70708,
    "c": 0.17205,
    "h": 130.7
  },
  "luminance": 0.37391
}

Semantic roles & 50–950 ramp

primary
#7AB52F
secondary
#9B79C7
accent
#46E28B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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