#5AB02B#5AB02B

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

Color values

HEX#5AB02B
RGBrgb(90, 176, 43)
HSLhsl(99, 61%, 43%)
HSVhsv(99, 76%, 69%)
CMYKcmyk(48.9%, 0%, 75.6%, 31%)
CIE-LABlab(64.48, -48.63, 56.17)
CIE-LCHlch(64.48, 74.30, 130.89°)
OKLaboklab(67.76% -0.135 0.1258)
OKLCHoklch(67.76% 0.185 137)
XYZxyz(20.1772, 33.3974, 7.6681)
Luminance0.3340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB02B #812BB0
analogous
#9CB02B #5AB02B #2BB03E
triadic
#5AB02B #2B5AB0 #B02B5A
tetradic
#5AB02B #2B9CB0 #812BB0 #B03E2B
square
#5AB02B #2B9CB0 #812BB0 #B03E2B
split-complementary
#5AB02B #3E2BB0 #B02B9C
monochromatic
#284E13 #417F1F #5AB02B #78D246 #9CDE78

Accessibility & contrast

On white

2.73
#5AB02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB02B#FFFFFF#000000##000000
##5AB02B1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ab02b;
/* rgb */ color: rgb(90, 176, 43);
/* oklch */ color: oklch(67.8% 0.185 137.0);
Tailwind
colors: {
  custom: {
    50: '#91c86e',
    500: '#5ab02b',
    950: '#000000',
  },
}
SCSS
$custom: #5ab02b;
$custom-light: #91c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab02b",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 98.797,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.18452,
    "h": 137
  },
  "luminance": 0.33399
}

Semantic roles & 50–950 ramp

primary
#5AB02B
secondary
#A871C6
accent
#44E4AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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