#5AA325#5AA325

#5AA325 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.3% C 0.172 H 135.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5AA325
RGBrgb(90, 163, 37)
HSLhsl(95, 63%, 39%)
HSVhsv(95, 77%, 64%)
CMYKcmyk(44.8%, 0%, 77.3%, 36.1%)
CIE-LABlab(60.34, -43.80, 54.18)
CIE-LCHlch(60.34, 69.67, 128.96°)
OKLaboklab(64.35% -0.1224 0.1208)
OKLCHoklch(64.35% 0.172 135.4)
XYZxyz(17.6472, 28.5006, 6.3212)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA325 #6E25A3
analogous
#99A325 #5AA325 #25A32F
triadic
#5AA325 #255AA3 #A3255A
tetradic
#5AA325 #2599A3 #6E25A3 #A32F25
square
#5AA325 #2599A3 #6E25A3 #A32F25
split-complementary
#5AA325 #2F25A3 #A32599
monochromatic
#233F0E #3E711A #5AA325 #76D134 #98DC66

Accessibility & contrast

On white

3.13
#5AA325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5AA325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA325
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA325#FFFFFF#000000##000000
##5AA3251.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99505
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#589D8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa325;
/* rgb */ color: rgb(90, 163, 37);
/* oklch */ color: oklch(64.3% 0.172 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fbf69',
    500: '#5aa325',
    950: '#000000',
  },
}
SCSS
$custom: #5aa325;
$custom-light: #8fbf69;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa325",
  "rgb": {
    "r": 90,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 94.762,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64348,
    "c": 0.17191,
    "h": 135.4
  },
  "luminance": 0.28502
}

Semantic roles & 50–950 ramp

primary
#5AA325
secondary
#9A62C2
accent
#42E6A1
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA325

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

Preview Lab → · Contrast checker → · Palette generator →

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