#5A995D#5A995D

#5A995D is a light, moderate green. Relative luminance 0.257; OKLCH L 62.5% C 0.110 H 145.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A995D
RGBrgb(90, 153, 93)
HSLhsl(123, 26%, 48%)
HSVhsv(123, 41%, 60%)
CMYKcmyk(41.2%, 0%, 39.2%, 40%)
CIE-LABlab(57.79, -33.19, 25.34)
CIE-LCHlch(57.79, 41.76, 142.63°)
OKLaboklab(62.47% -0.0904 0.0629)
OKLCHoklch(62.47% 0.11 145.1)
XYZxyz(17.5826, 25.7454, 14.3967)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A995D #995A96
analogous
#76995A #5A995D #5A997C
triadic
#5A995D #5D5A99 #995D5A
tetradic
#5A995D #5A7699 #995A96 #997C5A
square
#5A995D #5A7699 #995A96 #997C5A
split-complementary
#5A995D #7C5A99 #995A76
monochromatic
#2D4C2E #437246 #5A995D #7DB380 #A4C9A6

Accessibility & contrast

On white

3.42
#5A995D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5A995D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A995D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A995D#FFFFFF#000000##000000
##5A995D1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8F59
Deuteranopia (green-blind)
#928861
Tritanopia (blue-blind)
#52968A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a995d;
/* rgb */ color: rgb(90, 153, 93);
/* oklch */ color: oklch(62.5% 0.110 145.1);
Tailwind
colors: {
  custom: {
    50: '#8cb78b',
    500: '#5a995d',
    950: '#000000',
  },
}
SCSS
$custom: #5a995d;
$custom-light: #8cb78b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a995d",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 93
  },
  "hsl": {
    "h": 122.857,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62465,
    "c": 0.11011,
    "h": 145.1
  },
  "luminance": 0.25746
}

Semantic roles & 50–950 ramp

primary
#5A995D
secondary
#B798B6
accent
#65BEC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A995D

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

Preview Lab → · Contrast checker → · Palette generator →

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