#5AB52B#5AB52B

#5AB52B is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.1% C 0.191 H 137.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5AB52B
RGBrgb(90, 181, 43)
HSLhsl(100, 62%, 44%)
HSVhsv(100, 76%, 71%)
CMYKcmyk(50.3%, 0%, 76.2%, 29%)
CIE-LABlab(66.05, -50.57, 57.70)
CIE-LCHlch(66.05, 76.73, 131.23°)
OKLaboklab(69.06% -0.1402 0.129)
OKLCHoklch(69.06% 0.191 137.4)
XYZxyz(21.1757, 35.3943, 8.0010)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB52B #862BB5
analogous
#9FB52B #5AB52B #2BB541
triadic
#5AB52B #2B5AB5 #B52B5A
tetradic
#5AB52B #2B9FB5 #862BB5 #B5412B
square
#5AB52B #2B9FB5 #862BB5 #B5412B
split-complementary
#5AB52B #412BB5 #B52B9F
monochromatic
#295214 #41841F #5AB52B #79D449 #9DE07B

Accessibility & contrast

On white

2.60
#5AB52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#5AB52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB52B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB52B#FFFFFF#000000##000000
##5AB52B1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#AF9E3A
Tritanopia (blue-blind)
#54AE9B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5ab52b;
/* rgb */ color: rgb(90, 181, 43);
/* oklch */ color: oklch(69.1% 0.191 137.4);
Tailwind
colors: {
  custom: {
    50: '#91cc6f',
    500: '#5ab52b',
    950: '#000000',
  },
}
SCSS
$custom: #5ab52b;
$custom-light: #91cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab52b",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 99.565,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69056,
    "c": 0.19053,
    "h": 137.4
  },
  "luminance": 0.35396
}

Semantic roles & 50–950 ramp

primary
#5AB52B
secondary
#AB74C8
accent
#43E5AE
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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