#5A9552#5A9552

#5A9552 is a mid, moderate green. Relative luminance 0.243; OKLCH L 61.2% C 0.115 H 141.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5A9552
RGBrgb(90, 149, 82)
HSLhsl(113, 29%, 45%)
HSVhsv(113, 45%, 58%)
CMYKcmyk(39.6%, 0%, 45%, 41.6%)
CIE-LABlab(56.36, -33.07, 29.42)
CIE-LCHlch(56.36, 44.26, 138.34°)
OKLaboklab(61.24% -0.0902 0.072)
OKLCHoklch(61.24% 0.115 141.4)
XYZxyz(16.4862, 24.2768, 11.7982)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9552 #8D5295
analogous
#7B9552 #5A9552 #52956C
triadic
#5A9552 #525A95 #95525A
tetradic
#5A9552 #527B95 #8D5295 #956C52
square
#5A9552 #527B95 #8D5295 #956C52
split-complementary
#5A9552 #6C5295 #95527B
monochromatic
#2A4627 #426E3C #5A9552 #7AB273 #9FC79A

Accessibility & contrast

On white

3.59
#5A9552 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5A9552 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9552
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9552#FFFFFF#000000##000000
##5A95521.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4D
Deuteranopia (green-blind)
#908556
Tritanopia (blue-blind)
#559185
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a9552;
/* rgb */ color: rgb(90, 149, 82);
/* oklch */ color: oklch(61.2% 0.115 141.4);
Tailwind
colors: {
  custom: {
    50: '#8cb483',
    500: '#5a9552',
    950: '#000000',
  },
}
SCSS
$custom: #5a9552;
$custom-light: #8cb483;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9552",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 82
  },
  "hsl": {
    "h": 112.836,
    "s": 29.004,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.11542,
    "h": 141.4
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#5A9552
secondary
#B08EB4
accent
#63C5B9
background
#F8FBF8
surface
#F0F6EF
border
#CBD0CA
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5A9552

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

Preview Lab → · Contrast checker → · Palette generator →

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