#5A984E#5A984E

#5A984E is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.9% C 0.124 H 140.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A984E
RGBrgb(90, 152, 78)
HSLhsl(110, 32%, 45%)
HSVhsv(110, 49%, 60%)
CMYKcmyk(40.8%, 0%, 48.7%, 40.4%)
CIE-LABlab(57.25, -35.02, 32.64)
CIE-LCHlch(57.25, 47.87, 137.02°)
OKLaboklab(61.95% -0.0957 0.0791)
OKLCHoklch(61.95% 0.124 140.5)
XYZxyz(16.8192, 25.1792, 11.1801)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A984E #8C4E98
analogous
#7F984E #5A984E #4E9867
triadic
#5A984E #4E5A98 #984E5A
tetradic
#5A984E #4E7F98 #8C4E98 #98674E
square
#5A984E #4E7F98 #8C4E98 #98674E
split-complementary
#5A984E #674E98 #984E7F
monochromatic
#2A4724 #427039 #5A984E #7AB56E #9FCA97

Accessibility & contrast

On white

3.48
#5A984E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5A984E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A984E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A984E#FFFFFF#000000##000000
##5A984E1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D48
Deuteranopia (green-blind)
#938753
Tritanopia (blue-blind)
#559487
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a984e;
/* rgb */ color: rgb(90, 152, 78);
/* oklch */ color: oklch(61.9% 0.124 140.5);
Tailwind
colors: {
  custom: {
    50: '#8cb781',
    500: '#5a984e',
    950: '#000000',
  },
}
SCSS
$custom: #5a984e;
$custom-light: #8cb781;
$custom-dark: #000000;
JSON
{
  "hex": "#5a984e",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 78
  },
  "hsl": {
    "h": 110.27,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.12416,
    "h": 140.5
  },
  "luminance": 0.2518
}

Semantic roles & 50–950 ramp

primary
#5A984E
secondary
#AF8CB6
accent
#5FC8B7
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C110A
muted
#7D807C

Preview Lab

Preview with #5A984E

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

Preview Lab → · Contrast checker → · Palette generator →

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