#5ABB21#5ABB21

#5ABB21 is a light, highly saturated yellow-green. Relative luminance 0.378; OKLCH L 70.6% C 0.202 H 137.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5ABB21
RGBrgb(90, 187, 33)
HSLhsl(98, 70%, 43%)
HSVhsv(98, 82%, 73%)
CMYKcmyk(51.9%, 0%, 82.4%, 26.7%)
CIE-LABlab(67.89, -53.39, 62.41)
CIE-LCHlch(67.89, 82.13, 130.54°)
OKLaboklab(70.55% -0.1483 0.1374)
OKLCHoklch(70.55% 0.202 137.2)
XYZxyz(22.2606, 37.8224, 7.5660)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABB21 #8221BB
analogous
#A7BB21 #5ABB21 #21BB35
triadic
#5ABB21 #215ABB #BB215A
tetradic
#5ABB21 #21A7BB #8221BB #BB3521
square
#5ABB21 #21A7BB #8221BB #BB3521
split-complementary
#5ABB21 #3521BB #BB21A7
monochromatic
#28530F #418718 #5ABB21 #78DD3D #9CE671

Accessibility & contrast

On white

2.45
#5ABB21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#5ABB21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABB21
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABB21#FFFFFF#000000##000000
##5ABB211.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#53B49F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5abb21;
/* rgb */ color: rgb(90, 187, 33);
/* oklch */ color: oklch(70.6% 0.202 137.2);
Tailwind
colors: {
  custom: {
    50: '#93d06b',
    500: '#5abb21',
    950: '#000000',
  },
}
SCSS
$custom: #5abb21;
$custom-light: #93d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5abb21",
  "rgb": {
    "r": 90,
    "g": 187,
    "b": 33
  },
  "hsl": {
    "h": 97.792,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70552,
    "c": 0.20222,
    "h": 137.2
  },
  "luminance": 0.37824
}

Semantic roles & 50–950 ramp

primary
#5ABB21
secondary
#A96BCC
accent
#3BEDAB
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1407
muted
#7E827A

Preview Lab

Preview with #5ABB21

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

Preview Lab → · Contrast checker → · Palette generator →

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