#5AB02A#5AB02A

#5AB02A is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 67.8% C 0.185 H 136.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5AB02A
RGBrgb(90, 176, 42)
HSLhsl(99, 61%, 43%)
HSVhsv(99, 76%, 69%)
CMYKcmyk(48.9%, 0%, 76.1%, 31%)
CIE-LABlab(64.48, -48.70, 56.50)
CIE-LCHlch(64.48, 74.59, 130.76°)
OKLaboklab(67.76% -0.1352 0.1264)
OKLCHoklch(67.76% 0.185 136.9)
XYZxyz(20.1591, 33.3901, 7.5727)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB02A #802AB0
analogous
#9DB02A #5AB02A #2AB03D
triadic
#5AB02A #2A5AB0 #B02A5A
tetradic
#5AB02A #2A9DB0 #802AB0 #B03D2A
square
#5AB02A #2A9DB0 #802AB0 #B03D2A
split-complementary
#5AB02A #3D2AB0 #B02A9D
monochromatic
#274D12 #417F1E #5AB02A #77D345 #9BDE76

Accessibility & contrast

On white

2.74
#5AB02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#5AB02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB02A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB02A#FFFFFF#000000##000000
##5AB02A1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#AB9A38
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5ab02a;
/* rgb */ color: rgb(90, 176, 42);
/* oklch */ color: oklch(67.8% 0.185 136.9);
Tailwind
colors: {
  custom: {
    50: '#91c86e',
    500: '#5ab02a',
    950: '#000000',
  },
}
SCSS
$custom: #5ab02a;
$custom-light: #91c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab02a",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 98.507,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67756,
    "c": 0.18506,
    "h": 136.9
  },
  "luminance": 0.33391
}

Semantic roles & 50–950 ramp

primary
#5AB02A
secondary
#A770C6
accent
#43E5AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB02A

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

Preview Lab → · Contrast checker → · Palette generator →

#5AB02A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva