#5AAB25#5AAB25

#5AAB25 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.182 H 136.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5AAB25
RGBrgb(90, 171, 37)
HSLhsl(96, 64%, 41%)
HSVhsv(96, 78%, 67%)
CMYKcmyk(47.4%, 0%, 78.4%, 32.9%)
CIE-LABlab(62.87, -47.03, 56.60)
CIE-LCHlch(62.87, 73.58, 129.72°)
OKLaboklab(66.43% -0.131 0.1258)
OKLCHoklch(66.43% 0.182 136.2)
XYZxyz(19.1128, 31.4318, 6.8097)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB25 #7625AB
analogous
#9DAB25 #5AAB25 #25AB33
triadic
#5AAB25 #255AAB #AB255A
tetradic
#5AAB25 #259DAB #7625AB #AB3325
square
#5AAB25 #259DAB #7625AB #AB3325
split-complementary
#5AAB25 #3325AB #AB259D
monochromatic
#25460F #40791A #5AAB25 #76D439 #99DF6B

Accessibility & contrast

On white

2.88
#5AAB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5AAB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB25
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB25#FFFFFF#000000##000000
##5AAB251.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab25;
/* rgb */ color: rgb(90, 171, 37);
/* oklch */ color: oklch(66.4% 0.182 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c56b',
    500: '#5aab25',
    950: '#000000',
  },
}
SCSS
$custom: #5aab25;
$custom-light: #90c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab25",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 96.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66427,
    "c": 0.18166,
    "h": 136.2
  },
  "luminance": 0.31433
}

Semantic roles & 50–950 ramp

primary
#5AAB25
secondary
#A067C5
accent
#40E7A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB25

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

Preview Lab → · Contrast checker → · Palette generator →

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