#5AB928#5AB928

#5AB928 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.1% C 0.197 H 137.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5AB928
RGBrgb(90, 185, 40)
HSLhsl(99, 64%, 44%)
HSVhsv(99, 78%, 73%)
CMYKcmyk(51.4%, 0%, 78.4%, 27.5%)
CIE-LABlab(67.29, -52.28, 59.86)
CIE-LCHlch(67.29, 79.47, 131.13°)
OKLaboklab(70.07% -0.145 0.1331)
OKLCHoklch(70.07% 0.197 137.5)
XYZxyz(21.9477, 37.0232, 7.9967)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB928 #8728B9
analogous
#A3B928 #5AB928 #28B93F
triadic
#5AB928 #285AB9 #B9285A
tetradic
#5AB928 #28A3B9 #8728B9 #B93F28
square
#5AB928 #28A3B9 #8728B9 #B93F28
split-complementary
#5AB928 #3F28B9 #B928A3
monochromatic
#295412 #42871D #5AB928 #79D747 #9DE279

Accessibility & contrast

On white

2.50
#5AB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#5AB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB928
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB928#FFFFFF#000000##000000
##5AB9281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#53B29E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5ab928;
/* rgb */ color: rgb(90, 185, 40);
/* oklch */ color: oklch(70.1% 0.197 137.5);
Tailwind
colors: {
  custom: {
    50: '#92cf6e',
    500: '#5ab928',
    950: '#000000',
  },
}
SCSS
$custom: #5ab928;
$custom-light: #92cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab928",
  "rgb": {
    "r": 90,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 99.31,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70072,
    "c": 0.19678,
    "h": 137.5
  },
  "luminance": 0.37025
}

Semantic roles & 50–950 ramp

primary
#5AB928
secondary
#AC73CA
accent
#40E7AE
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5AB928

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

Preview Lab → · Contrast checker → · Palette generator →

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