#5AA528#5AA528

#5AA528 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.173 H 135.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5AA528
RGBrgb(90, 165, 40)
HSLhsl(96, 61%, 40%)
HSVhsv(96, 76%, 65%)
CMYKcmyk(45.5%, 0%, 75.8%, 35.3%)
CIE-LABlab(60.99, -44.43, 53.79)
CIE-LCHlch(60.99, 69.76, 129.56°)
OKLaboklab(64.89% -0.1239 0.1204)
OKLCHoklch(64.89% 0.173 135.8)
XYZxyz(18.0541, 29.2360, 6.6989)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA528 #7328A5
analogous
#99A528 #5AA528 #28A534
triadic
#5AA528 #285AA5 #A5285A
tetradic
#5AA528 #2899A5 #7328A5 #A53428
square
#5AA528 #2899A5 #7328A5 #A53428
split-complementary
#5AA528 #3428A5 #A52899
monochromatic
#244210 #3F741C #5AA528 #76CF3B #99DB6C

Accessibility & contrast

On white

3.07
#5AA528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#5AA528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA528
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA528#FFFFFF#000000##000000
##5AA5281.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa528;
/* rgb */ color: rgb(90, 165, 40);
/* oklch */ color: oklch(64.9% 0.173 135.8);
Tailwind
colors: {
  custom: {
    50: '#8fc06b',
    500: '#5aa528',
    950: '#000000',
  },
}
SCSS
$custom: #5aa528;
$custom-light: #8fc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa528",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 96,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.17272,
    "h": 135.8
  },
  "luminance": 0.29237
}

Semantic roles & 50–950 ramp

primary
#5AA528
secondary
#9D67C2
accent
#44E4A4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA528

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

Preview Lab → · Contrast checker → · Palette generator →

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