#5AB325#5AB325

#5AB325 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.191 H 136.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5AB325
RGBrgb(90, 179, 37)
HSLhsl(98, 66%, 42%)
HSVhsv(98, 79%, 70%)
CMYKcmyk(49.7%, 0%, 79.3%, 29.8%)
CIE-LABlab(65.39, -50.16, 58.98)
CIE-LCHlch(65.39, 77.42, 130.38°)
OKLaboklab(68.5% -0.1394 0.1308)
OKLCHoklch(68.5% 0.191 136.8)
XYZxyz(20.6699, 34.5460, 7.3288)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB325 #7E25B3
analogous
#A1B325 #5AB325 #25B337
triadic
#5AB325 #255AB3 #B3255A
tetradic
#5AB325 #25A1B3 #7E25B3 #B33725
square
#5AB325 #25A1B3 #7E25B3 #B33725
split-complementary
#5AB325 #3725B3 #B325A1
monochromatic
#274E10 #40801B #5AB325 #77D73E #9BE271

Accessibility & contrast

On white

2.66
#5AB325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5AB325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB325
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB325#FFFFFF#000000##000000
##5AB3251.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#55AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab325;
/* rgb */ color: rgb(90, 179, 37);
/* oklch */ color: oklch(68.5% 0.191 136.8);
Tailwind
colors: {
  custom: {
    50: '#91ca6c',
    500: '#5ab325',
    950: '#000000',
  },
}
SCSS
$custom: #5ab325;
$custom-light: #91ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab325",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 97.606,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68502,
    "c": 0.19119,
    "h": 136.8
  },
  "luminance": 0.34547
}

Semantic roles & 50–950 ramp

primary
#5AB325
secondary
#A66BC8
accent
#3FE9A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB325

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

Preview Lab → · Contrast checker → · Palette generator →

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