#5AB52C#5AB52C

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

Color values

HEX#5AB52C
RGBrgb(90, 181, 44)
HSLhsl(100, 61%, 44%)
HSVhsv(100, 76%, 71%)
CMYKcmyk(50.3%, 0%, 75.7%, 29%)
CIE-LABlab(66.06, -50.51, 57.37)
CIE-LCHlch(66.06, 76.44, 131.36°)
OKLaboklab(69.06% -0.14 0.1285)
OKLCHoklch(69.06% 0.19 137.5)
XYZxyz(21.1943, 35.4017, 8.0988)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB52C #872CB5
analogous
#9FB52C #5AB52C #2CB543
triadic
#5AB52C #2C5AB5 #B52C5A
tetradic
#5AB52C #2C9FB5 #872CB5 #B5432C
square
#5AB52C #2C9FB5 #872CB5 #B5432C
split-complementary
#5AB52C #432CB5 #B52C9F
monochromatic
#295314 #428420 #5AB52C #79D34B #9DDF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB52C#FFFFFF#000000##000000
##5AB52C1.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)
#BBA50D
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#54AE9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ab52c;
/* rgb */ color: rgb(90, 181, 44);
/* oklch */ color: oklch(69.1% 0.190 137.5);
Tailwind
colors: {
  custom: {
    50: '#91cc6f',
    500: '#5ab52c',
    950: '#000000',
  },
}
SCSS
$custom: #5ab52c;
$custom-light: #91cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab52c",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 99.854,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.18999,
    "h": 137.5
  },
  "luminance": 0.35403
}

Semantic roles & 50–950 ramp

primary
#5AB52C
secondary
#AC75C8
accent
#44E4AE
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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