#5AA52D#5AA52D

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

Color values

HEX#5AA52D
RGBrgb(90, 165, 45)
HSLhsl(98, 57%, 41%)
HSVhsv(98, 73%, 65%)
CMYKcmyk(45.5%, 0%, 72.7%, 35.3%)
CIE-LABlab(61.02, -44.09, 52.01)
CIE-LCHlch(61.02, 68.18, 130.29°)
OKLaboklab(64.92% -0.1226 0.1174)
OKLCHoklch(64.92% 0.17 136.2)
XYZxyz(18.1448, 29.2723, 7.1761)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA52D #782DA5
analogous
#96A52D #5AA52D #2DA53C
triadic
#5AA52D #2D5AA5 #A52D5A
tetradic
#5AA52D #2D96A5 #782DA5 #A53C2D
square
#5AA52D #2D96A5 #782DA5 #A53C2D
split-complementary
#5AA52D #3C2DA5 #A52D96
monochromatic
#264513 #407520 #5AA52D #77CC43 #9AD973

Accessibility & contrast

On white

3.06
#5AA52D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA52D#FFFFFF#000000##000000
##5AA52D1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9718
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#579F8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa52d;
/* rgb */ color: rgb(90, 165, 45);
/* oklch */ color: oklch(64.9% 0.170 136.2);
Tailwind
colors: {
  custom: {
    50: '#8fc06e',
    500: '#5aa52d',
    950: '#000000',
  },
}
SCSS
$custom: #5aa52d;
$custom-light: #8fc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa52d",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 97.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.16973,
    "h": 136.2
  },
  "luminance": 0.29273
}

Semantic roles & 50–950 ramp

primary
#5AA52D
secondary
#A16DC1
accent
#47E0A7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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