#5AA525#5AA525

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

Color values

HEX#5AA525
RGBrgb(90, 165, 37)
HSLhsl(95, 63%, 40%)
HSVhsv(95, 78%, 65%)
CMYKcmyk(45.5%, 0%, 77.6%, 35.3%)
CIE-LABlab(60.97, -44.62, 54.78)
CIE-LCHlch(60.97, 70.65, 129.16°)
OKLaboklab(64.87% -0.1246 0.122)
OKLCHoklch(64.87% 0.174 135.6)
XYZxyz(18.0051, 29.2164, 6.4405)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA525 #7025A5
analogous
#9AA525 #5AA525 #25A530
triadic
#5AA525 #255AA5 #A5255A
tetradic
#5AA525 #259AA5 #7025A5 #A53025
square
#5AA525 #259AA5 #7025A5 #A53025
split-complementary
#5AA525 #3025A5 #A5259A
monochromatic
#23410F #3F731A #5AA525 #76D235 #98DD67

Accessibility & contrast

On white

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

On black

6.84
#5AA525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA525
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA525#FFFFFF#000000##000000
##5AA5251.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa525;
/* rgb */ color: rgb(90, 165, 37);
/* oklch */ color: oklch(64.9% 0.174 135.6);
Tailwind
colors: {
  custom: {
    50: '#90c06a',
    500: '#5aa525',
    950: '#000000',
  },
}
SCSS
$custom: #5aa525;
$custom-light: #90c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa525",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 95.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64868,
    "c": 0.17437,
    "h": 135.6
  },
  "luminance": 0.29217
}

Semantic roles & 50–950 ramp

primary
#5AA525
secondary
#9B63C3
accent
#41E6A2
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA525

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

Preview Lab → · Contrast checker → · Palette generator →

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