#5A985E#5A985E

#5A985E is a light, moderate green. Relative luminance 0.254; OKLCH L 62.2% C 0.107 H 145.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5A985E
RGBrgb(90, 152, 94)
HSLhsl(124, 26%, 47%)
HSVhsv(124, 41%, 60%)
CMYKcmyk(40.8%, 0%, 38.2%, 40.4%)
CIE-LABlab(57.50, -32.55, 24.41)
CIE-LCHlch(57.50, 40.69, 143.14°)
OKLaboklab(62.23% -0.0886 0.0608)
OKLCHoklch(62.23% 0.107 145.6)
XYZxyz(17.4642, 25.4372, 14.5772)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A985E #985A94
analogous
#75985A #5A985E #5A987D
triadic
#5A985E #5E5A98 #985E5A
tetradic
#5A985E #5A7598 #985A94 #987D5A
square
#5A985E #5A7598 #985A94 #987D5A
split-complementary
#5A985E #7D5A98 #985A75
monochromatic
#2C4B2E #437246 #5A985E #7DB281 #A4C9A6

Accessibility & contrast

On white

3.45
#5A985E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5A985E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A985E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A985E#FFFFFF#000000##000000
##5A985E1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8E5A
Deuteranopia (green-blind)
#918861
Tritanopia (blue-blind)
#529589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a985e;
/* rgb */ color: rgb(90, 152, 94);
/* oklch */ color: oklch(62.2% 0.107 145.6);
Tailwind
colors: {
  custom: {
    50: '#8cb78c',
    500: '#5a985e',
    950: '#000000',
  },
}
SCSS
$custom: #5a985e;
$custom-light: #8cb78c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a985e",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 123.871,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.10746,
    "h": 145.6
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#5A985E
secondary
#B797B5
accent
#66BCC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A985E

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

Preview Lab → · Contrast checker → · Palette generator →

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