#5AA252#5AA252

#5AA252 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.6% C 0.135 H 141.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5AA252
RGBrgb(90, 162, 82)
HSLhsl(114, 33%, 48%)
HSVhsv(114, 49%, 64%)
CMYKcmyk(44.4%, 0%, 49.4%, 36.5%)
CIE-LABlab(60.45, -38.92, 34.54)
CIE-LCHlch(60.45, 52.04, 138.41°)
OKLaboklab(64.57% -0.1062 0.0836)
OKLCHoklch(64.57% 0.135 141.8)
XYZxyz(18.6590, 28.6223, 12.5225)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA252 #9A52A2
analogous
#82A252 #5AA252 #52A272
triadic
#5AA252 #525AA2 #A2525A
tetradic
#5AA252 #5282A2 #9A52A2 #A27252
square
#5AA252 #5282A2 #9A52A2 #A27252
split-complementary
#5AA252 #7252A2 #A25282
monochromatic
#2D5129 #43793D #5AA252 #7EBA77 #A4CFA0

Accessibility & contrast

On white

3.12
#5AA252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#5AA252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA252
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA252#FFFFFF#000000##000000
##5AA2521.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5964B
Deuteranopia (green-blind)
#9B8F57
Tritanopia (blue-blind)
#539E8F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa252;
/* rgb */ color: rgb(90, 162, 82);
/* oklch */ color: oklch(64.6% 0.135 141.8);
Tailwind
colors: {
  custom: {
    50: '#8dbe84',
    500: '#5aa252',
    950: '#000000',
  },
}
SCSS
$custom: #5aa252;
$custom-light: #8dbe84;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa252",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 114,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.13512,
    "h": 141.8
  },
  "luminance": 0.28624
}

Semantic roles & 50–950 ramp

primary
#5AA252
secondary
#B894BC
accent
#5FC9BE
background
#F8FBF8
surface
#F0F7EF
border
#CBD0CA
text
#0D120B
muted
#7D817C

Preview Lab

Preview with #5AA252

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

Preview Lab → · Contrast checker → · Palette generator →

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