#5ABD21#5ABD21

#5ABD21 is a light, highly saturated yellow-green. Relative luminance 0.387; OKLCH L 71.1% C 0.204 H 137.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#5ABD21
RGBrgb(90, 189, 33)
HSLhsl(98, 70%, 44%)
HSVhsv(98, 83%, 74%)
CMYKcmyk(52.4%, 0%, 82.5%, 25.9%)
CIE-LABlab(68.52, -54.13, 62.98)
CIE-LCHlch(68.52, 83.05, 130.68°)
OKLaboklab(71.07% -0.1503 0.1386)
OKLCHoklch(71.07% 0.204 137.3)
XYZxyz(22.6878, 38.6769, 7.7084)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ABD21 #8421BD
analogous
#A8BD21 #5ABD21 #21BD36
triadic
#5ABD21 #215ABD #BD215A
tetradic
#5ABD21 #21A8BD #8421BD #BD3621
square
#5ABD21 #21A8BD #8421BD #BD3621
split-complementary
#5ABD21 #3621BD #BD21A8
monochromatic
#28550F #418918 #5ABD21 #78DD3E #9DE672

Accessibility & contrast

On white

2.40
#5ABD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#5ABD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ABD21
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ABD21#FFFFFF#000000##000000
##5ABD211.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#53B6A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #5abd21;
/* rgb */ color: rgb(90, 189, 33);
/* oklch */ color: oklch(71.1% 0.204 137.3);
Tailwind
colors: {
  custom: {
    50: '#93d26b',
    500: '#5abd21',
    950: '#000000',
  },
}
SCSS
$custom: #5abd21;
$custom-light: #93d26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5abd21",
  "rgb": {
    "r": 90,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 98.077,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.20449,
    "h": 137.3
  },
  "luminance": 0.38679
}

Semantic roles & 50–950 ramp

primary
#5ABD21
secondary
#AA6DCD
accent
#3BEDAC
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1408
muted
#7E827A

Preview Lab

Preview with #5ABD21

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

Preview Lab → · Contrast checker → · Palette generator →

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