#5A985D#5A985D

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

Color values

HEX#5A985D
RGBrgb(90, 152, 93)
HSLhsl(123, 26%, 47%)
HSVhsv(123, 41%, 60%)
CMYKcmyk(40.8%, 0%, 38.8%, 40.4%)
CIE-LABlab(57.48, -32.72, 24.93)
CIE-LCHlch(57.48, 41.14, 142.69°)
OKLaboklab(62.21% -0.0891 0.062)
OKLCHoklch(62.21% 0.109 145.2)
XYZxyz(17.4196, 25.4194, 14.3424)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A985D #985A95
analogous
#76985A #5A985D #5A987C
triadic
#5A985D #5D5A98 #985D5A
tetradic
#5A985D #5A7698 #985A95 #987C5A
square
#5A985D #5A7698 #985A95 #987C5A
split-complementary
#5A985D #7C5A98 #985A76
monochromatic
#2C4B2E #437245 #5A985D #7DB280 #A4C9A5

Accessibility & contrast

On white

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

On black

6.08
#5A985D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A985D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A985D#FFFFFF#000000##000000
##5A985D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a985d;
/* rgb */ color: rgb(90, 152, 93);
/* oklch */ color: oklch(62.2% 0.109 145.2);
Tailwind
colors: {
  custom: {
    50: '#8cb78b',
    500: '#5a985d',
    950: '#000000',
  },
}
SCSS
$custom: #5a985d;
$custom-light: #8cb78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a985d",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 122.903,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.10852,
    "h": 145.2
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A985D

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

Preview Lab → · Contrast checker → · Palette generator →

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