#5A985C#5A985C

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

Color values

HEX#5A985C
RGBrgb(90, 152, 92)
HSLhsl(122, 26%, 47%)
HSVhsv(122, 41%, 60%)
CMYKcmyk(40.8%, 0%, 39.5%, 40.4%)
CIE-LABlab(57.46, -32.89, 25.45)
CIE-LCHlch(57.46, 41.59, 142.26°)
OKLaboklab(62.19% -0.0895 0.0632)
OKLCHoklch(62.19% 0.11 144.8)
XYZxyz(17.3756, 25.4018, 14.1106)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A985C #985A96
analogous
#77985A #5A985C #5A987B
triadic
#5A985C #5C5A98 #985C5A
tetradic
#5A985C #5A7798 #985A96 #987B5A
square
#5A985C #5A7798 #985A96 #987B5A
split-complementary
#5A985C #7B5A98 #985A77
monochromatic
#2C4B2D #437245 #5A985C #7DB27F #A4C9A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A985C#FFFFFF#000000##000000
##5A985C1.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)
#9A8E58
Deuteranopia (green-blind)
#918860
Tritanopia (blue-blind)
#529589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a985c;
/* rgb */ color: rgb(90, 152, 92);
/* oklch */ color: oklch(62.2% 0.110 144.8);
Tailwind
colors: {
  custom: {
    50: '#8cb78b',
    500: '#5a985c',
    950: '#000000',
  },
}
SCSS
$custom: #5a985c;
$custom-light: #8cb78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a985c",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 121.935,
    "s": 25.62,
    "l": 47.451
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.10958,
    "h": 144.8
  },
  "luminance": 0.25403
}

Semantic roles & 50–950 ramp

primary
#5A985C
secondary
#B797B6
accent
#66BFC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A985C

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

Preview Lab → · Contrast checker → · Palette generator →

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