#5AA52B#5AA52B

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

Color values

HEX#5AA52B
RGBrgb(90, 165, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 65%)
CMYKcmyk(45.5%, 0%, 73.9%, 35.3%)
CIE-LABlab(61.01, -44.23, 52.74)
CIE-LCHlch(61.01, 68.83, 129.99°)
OKLaboklab(64.91% -0.1231 0.1186)
OKLCHoklch(64.91% 0.171 136.1)
XYZxyz(18.1072, 29.2572, 6.9781)
Luminance0.2926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA52B #762BA5
analogous
#97A52B #5AA52B #2BA539
triadic
#5AA52B #2B5AA5 #A52B5A
tetradic
#5AA52B #2B97A5 #762BA5 #A5392B
square
#5AA52B #2B97A5 #762BA5 #A5392B
split-complementary
#5AA52B #392BA5 #A52B97
monochromatic
#254412 #40741E #5AA52B #76CD40 #99DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA52B#FFFFFF#000000##000000
##5AA52B1.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)
#AB9714
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa52b;
/* rgb */ color: rgb(90, 165, 43);
/* oklch */ color: oklch(64.9% 0.171 136.1);
Tailwind
colors: {
  custom: {
    50: '#8fc06d',
    500: '#5aa52b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa52b;
$custom-light: #8fc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa52b",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 96.885,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.17097,
    "h": 136.1
  },
  "luminance": 0.29258
}

Semantic roles & 50–950 ramp

primary
#5AA52B
secondary
#A06BC1
accent
#46E2A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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