#5AA52C#5AA52C

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

Color values

HEX#5AA52C
RGBrgb(90, 165, 44)
HSLhsl(97, 58%, 41%)
HSVhsv(97, 73%, 65%)
CMYKcmyk(45.5%, 0%, 73.3%, 35.3%)
CIE-LABlab(61.01, -44.16, 52.37)
CIE-LCHlch(61.01, 68.51, 130.14°)
OKLaboklab(64.92% -0.1228 0.118)
OKLCHoklch(64.92% 0.17 136.1)
XYZxyz(18.1257, 29.2647, 7.0759)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA52C #772CA5
analogous
#96A52C #5AA52C #2CA53A
triadic
#5AA52C #2C5AA5 #A52C5A
tetradic
#5AA52C #2C96A5 #772CA5 #A53A2C
square
#5AA52C #2C96A5 #772CA5 #A53A2C
split-complementary
#5AA52C #3A2CA5 #A52C96
monochromatic
#254412 #40751F #5AA52C #76CD42 #99D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA52C#FFFFFF#000000##000000
##5AA52C1.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)
#AB9716
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa52c;
/* rgb */ color: rgb(90, 165, 44);
/* oklch */ color: oklch(64.9% 0.170 136.1);
Tailwind
colors: {
  custom: {
    50: '#8fc06d',
    500: '#5aa52c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa52c;
$custom-light: #8fc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa52c",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 97.19,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.17036,
    "h": 136.1
  },
  "luminance": 0.29266
}

Semantic roles & 50–950 ramp

primary
#5AA52C
secondary
#A16CC1
accent
#47E1A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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