#5A9750#5A9750

#5A9750 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.7% C 0.121 H 140.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5A9750
RGBrgb(90, 151, 80)
HSLhsl(112, 31%, 45%)
HSVhsv(112, 47%, 59%)
CMYKcmyk(40.4%, 0%, 47%, 40.8%)
CIE-LABlab(56.96, -34.28, 31.23)
CIE-LCHlch(56.96, 46.38, 137.66°)
OKLaboklab(61.72% -0.0936 0.076)
OKLCHoklch(61.72% 0.121 140.9)
XYZxyz(16.7304, 24.8851, 11.5096)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9750 #8D5097
analogous
#7E9750 #5A9750 #509769
triadic
#5A9750 #505A97 #97505A
tetradic
#5A9750 #507E97 #8D5097 #976950
square
#5A9750 #507E97 #8D5097 #976950
split-complementary
#5A9750 #695097 #97507E
monochromatic
#2A4726 #426F3B #5A9750 #7AB471 #9FC999

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9750#FFFFFF#000000##000000
##5A97501.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)
#9A8C4A
Deuteranopia (green-blind)
#928755
Tritanopia (blue-blind)
#559386
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a9750;
/* rgb */ color: rgb(90, 151, 80);
/* oklch */ color: oklch(61.7% 0.121 140.9);
Tailwind
colors: {
  custom: {
    50: '#8cb682',
    500: '#5a9750',
    950: '#000000',
  },
}
SCSS
$custom: #5a9750;
$custom-light: #8cb682;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9750",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 80
  },
  "hsl": {
    "h": 111.549,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.12059,
    "h": 140.9
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#5A9750
secondary
#B08DB6
accent
#61C7B9
background
#F8FBF8
surface
#F0F6EF
border
#CBD0CA
text
#0C110A
muted
#7D807C

Preview Lab

Preview with #5A9750

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

Preview Lab → · Contrast checker → · Palette generator →

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