#5A9747#5A9747

#5A9747 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.6% C 0.130 H 138.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5A9747
RGBrgb(90, 151, 71)
HSLhsl(106, 36%, 44%)
HSVhsv(106, 53%, 59%)
CMYKcmyk(40.4%, 0%, 53%, 40.8%)
CIE-LABlab(56.84, -35.50, 35.73)
CIE-LCHlch(56.84, 50.37, 134.81°)
OKLaboklab(61.58% -0.0974 0.0855)
OKLCHoklch(61.58% 0.13 138.7)
XYZxyz(16.4198, 24.7609, 9.8742)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9747 #844797
analogous
#829747 #5A9747 #47975C
triadic
#5A9747 #475A97 #97475A
tetradic
#5A9747 #478297 #844797 #975C47
square
#5A9747 #478297 #844797 #975C47
split-complementary
#5A9747 #5C4797 #974782
monochromatic
#284420 #416D33 #5A9747 #78B665 #9DCA8E

Accessibility & contrast

On white

3.53
#5A9747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5A9747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9747
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9747#FFFFFF#000000##000000
##5A97471.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8C40
Deuteranopia (green-blind)
#92864C
Tritanopia (blue-blind)
#569285
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9747;
/* rgb */ color: rgb(90, 151, 71);
/* oklch */ color: oklch(61.6% 0.130 138.7);
Tailwind
colors: {
  custom: {
    50: '#8cb67c',
    500: '#5a9747',
    950: '#000000',
  },
}
SCSS
$custom: #5a9747;
$custom-light: #8cb67c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9747",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 71
  },
  "hsl": {
    "h": 105.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.1296,
    "h": 138.7
  },
  "luminance": 0.24762
}

Semantic roles & 50–950 ramp

primary
#5A9747
secondary
#AA84B6
accent
#5CCCB1
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #5A9747

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

Preview Lab → · Contrast checker → · Palette generator →

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