#5A9752#5A9752

#5A9752 is a mid, moderate green. Relative luminance 0.249; OKLCH L 61.8% C 0.119 H 141.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A9752
RGBrgb(90, 151, 82)
HSLhsl(113, 30%, 46%)
HSVhsv(113, 46%, 59%)
CMYKcmyk(40.4%, 0%, 45.7%, 40.8%)
CIE-LABlab(56.99, -33.99, 30.21)
CIE-LCHlch(56.99, 45.48, 138.36°)
OKLaboklab(61.76% -0.0928 0.0738)
OKLCHoklch(61.76% 0.119 141.5)
XYZxyz(16.8054, 24.9151, 11.9046)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9752 #8F5297
analogous
#7C9752 #5A9752 #52976C
triadic
#5A9752 #525A97 #97525A
tetradic
#5A9752 #527C97 #8F5297 #976C52
square
#5A9752 #527C97 #8F5297 #976C52
split-complementary
#5A9752 #6C5297 #97527C
monochromatic
#2B4827 #426F3C #5A9752 #7BB373 #A0C99B

Accessibility & contrast

On white

3.51
#5A9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5A9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9752
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9752#FFFFFF#000000##000000
##5A97521.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4D
Deuteranopia (green-blind)
#918756
Tritanopia (blue-blind)
#549386
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9752;
/* rgb */ color: rgb(90, 151, 82);
/* oklch */ color: oklch(61.8% 0.119 141.5);
Tailwind
colors: {
  custom: {
    50: '#8cb684',
    500: '#5a9752',
    950: '#000000',
  },
}
SCSS
$custom: #5a9752;
$custom-light: #8cb684;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9752",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 113.043,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.11853,
    "h": 141.5
  },
  "luminance": 0.24916
}

Semantic roles & 50–950 ramp

primary
#5A9752
secondary
#B18FB6
accent
#62C6BA
background
#F8FBF8
surface
#F0F6EF
border
#CBD0CA
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5A9752

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

Preview Lab → · Contrast checker → · Palette generator →

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