#5A995E#5A995E

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

Color values

HEX#5A995E
RGBrgb(90, 153, 94)
HSLhsl(124, 26%, 48%)
HSVhsv(124, 41%, 60%)
CMYKcmyk(41.2%, 0%, 38.6%, 40%)
CIE-LABlab(57.81, -33.02, 24.82)
CIE-LCHlch(57.81, 41.31, 143.07°)
OKLaboklab(62.49% -0.0899 0.0617)
OKLCHoklch(62.49% 0.109 145.5)
XYZxyz(17.6272, 25.7632, 14.6315)
Luminance0.2576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A995E #995A95
analogous
#75995A #5A995E #5A997E
triadic
#5A995E #5E5A99 #995E5A
tetradic
#5A995E #5A7599 #995A95 #997E5A
square
#5A995E #5A7599 #995A95 #997E5A
split-complementary
#5A995E #7E5A99 #995A75
monochromatic
#2D4C2F #437246 #5A995E #7DB381 #A4C9A6

Accessibility & contrast

On white

3.41
#5A995E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A995E#FFFFFF#000000##000000
##5A995E1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a995e;
/* rgb */ color: rgb(90, 153, 94);
/* oklch */ color: oklch(62.5% 0.109 145.5);
Tailwind
colors: {
  custom: {
    50: '#8cb78c',
    500: '#5a995e',
    950: '#000000',
  },
}
SCSS
$custom: #5a995e;
$custom-light: #8cb78c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a995e",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 94
  },
  "hsl": {
    "h": 123.81,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62485,
    "c": 0.10905,
    "h": 145.5
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#5A995E
secondary
#B798B5
accent
#65BCC2
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0C110C
muted
#7D807D

Preview Lab

Preview with #5A995E

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

Preview Lab → · Contrast checker → · Palette generator →

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