#5AA225#5AA225

#5AA225 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.171 H 135.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA225
RGBrgb(90, 162, 37)
HSLhsl(95, 63%, 39%)
HSVhsv(95, 77%, 64%)
CMYKcmyk(44.4%, 0%, 77.2%, 36.5%)
CIE-LABlab(60.02, -43.39, 53.87)
CIE-LCHlch(60.02, 69.17, 128.85°)
OKLaboklab(64.09% -0.1212 0.1201)
OKLCHoklch(64.09% 0.171 135.3)
XYZxyz(17.4703, 28.1469, 6.2622)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA225 #6D25A2
analogous
#99A225 #5AA225 #25A22F
triadic
#5AA225 #255AA2 #A2255A
tetradic
#5AA225 #2599A2 #6D25A2 #A22F25
square
#5AA225 #2599A2 #6D25A2 #A22F25
split-complementary
#5AA225 #2F25A2 #A22599
monochromatic
#233E0E #3E701A #5AA225 #76D134 #98DC65

Accessibility & contrast

On white

3.17
#5AA225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA225
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA225#FFFFFF#000000##000000
##5AA2251.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89406
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#589C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa225;
/* rgb */ color: rgb(90, 162, 37);
/* oklch */ color: oklch(64.1% 0.171 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbe69',
    500: '#5aa225',
    950: '#000000',
  },
}
SCSS
$custom: #5aa225;
$custom-light: #8fbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa225",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 94.56,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64088,
    "c": 0.17067,
    "h": 135.3
  },
  "luminance": 0.28148
}

Semantic roles & 50–950 ramp

primary
#5AA225
secondary
#9961C2
accent
#42E6A0
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA225

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

Preview Lab → · Contrast checker → · Palette generator →

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