#5AB124#5AB124

#5AB124 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.0% C 0.189 H 136.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5AB124
RGBrgb(90, 177, 36)
HSLhsl(97, 66%, 42%)
HSVhsv(97, 80%, 69%)
CMYKcmyk(49.2%, 0%, 79.7%, 30.6%)
CIE-LABlab(64.76, -49.44, 58.68)
CIE-LCHlch(64.76, 76.73, 130.11°)
OKLaboklab(67.98% -0.1376 0.13)
OKLCHoklch(67.98% 0.189 136.6)
XYZxyz(20.2564, 33.7439, 7.1146)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB124 #7B24B1
analogous
#A1B124 #5AB124 #24B134
triadic
#5AB124 #245AB1 #B1245A
tetradic
#5AB124 #24A1B1 #7B24B1 #B13424
square
#5AB124 #24A1B1 #7B24B1 #B13424
split-complementary
#5AB124 #3424B1 #B124A1
monochromatic
#264B0F #407E1A #5AB124 #77D73B #9AE16E

Accessibility & contrast

On white

2.71
#5AB124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5AB124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB124
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB124#FFFFFF#000000##000000
##5AB1241.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab124;
/* rgb */ color: rgb(90, 177, 36);
/* oklch */ color: oklch(68.0% 0.189 136.6);
Tailwind
colors: {
  custom: {
    50: '#91c96b',
    500: '#5ab124',
    950: '#000000',
  },
}
SCSS
$custom: #5ab124;
$custom-light: #91c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab124",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 97.021,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67978,
    "c": 0.18931,
    "h": 136.6
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

primary
#5AB124
secondary
#A469C8
accent
#3FE9A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB124

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

Preview Lab → · Contrast checker → · Palette generator →

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