#5AA527#5AA527

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

Color values

HEX#5AA527
RGBrgb(90, 165, 39)
HSLhsl(96, 62%, 40%)
HSVhsv(96, 76%, 65%)
CMYKcmyk(45.5%, 0%, 76.4%, 35.3%)
CIE-LABlab(60.98, -44.50, 54.12)
CIE-LCHlch(60.98, 70.07, 129.42°)
OKLaboklab(64.88% -0.1241 0.1209)
OKLCHoklch(64.88% 0.173 135.7)
XYZxyz(18.0373, 29.2293, 6.6104)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA527 #7227A5
analogous
#99A527 #5AA527 #27A533
triadic
#5AA527 #275AA5 #A5275A
tetradic
#5AA527 #2799A5 #7227A5 #A53327
square
#5AA527 #2799A5 #7227A5 #A53327
split-complementary
#5AA527 #3327A5 #A52799
monochromatic
#244210 #3F741B #5AA527 #76D039 #98DC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA527#FFFFFF#000000##000000
##5AA5271.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)
#AB9709
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa527;
/* rgb */ color: rgb(90, 165, 39);
/* oklch */ color: oklch(64.9% 0.173 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fc06b',
    500: '#5aa527',
    950: '#000000',
  },
}
SCSS
$custom: #5aa527;
$custom-light: #8fc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa527",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 95.714,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.64881,
    "c": 0.17328,
    "h": 135.7
  },
  "luminance": 0.2923
}

Semantic roles & 50–950 ramp

primary
#5AA527
secondary
#9D66C2
accent
#43E5A3
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA527

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

Preview Lab → · Contrast checker → · Palette generator →

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