#5AAC28#5AAC28

#5AAC28 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.181 H 136.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5AAC28
RGBrgb(90, 172, 40)
HSLhsl(97, 62%, 42%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.7%, 0%, 76.7%, 32.5%)
CIE-LABlab(63.20, -47.25, 55.94)
CIE-LCHlch(63.20, 73.22, 130.18°)
OKLaboklab(66.71% -0.1314 0.1249)
OKLCHoklch(66.71% 0.181 136.5)
XYZxyz(19.3514, 31.8306, 7.1313)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC28 #7A28AC
analogous
#9CAC28 #5AAC28 #28AC38
triadic
#5AAC28 #285AAC #AC285A
tetradic
#5AAC28 #289CAC #7A28AC #AC3828
square
#5AAC28 #289CAC #7A28AC #AC3828
split-complementary
#5AAC28 #3828AC #AC289C
monochromatic
#264911 #407A1C #5AAC28 #77D23F #9ADE71

Accessibility & contrast

On white

2.85
#5AAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5AAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAC28
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAC28#FFFFFF#000000##000000
##5AAC281.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#56A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac28;
/* rgb */ color: rgb(90, 172, 40);
/* oklch */ color: oklch(66.7% 0.181 136.5);
Tailwind
colors: {
  custom: {
    50: '#90c56c',
    500: '#5aac28',
    950: '#000000',
  },
}
SCSS
$custom: #5aac28;
$custom-light: #90c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac28",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 97.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.1813,
    "h": 136.5
  },
  "luminance": 0.31832
}

Semantic roles & 50–950 ramp

primary
#5AAC28
secondary
#A36BC5
accent
#42E5A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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