#5A8865#5A8865

#5A8865 is a mid, moderate green. Relative luminance 0.207; OKLCH L 58.3% C 0.074 H 151.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5A8865
RGBrgb(90, 136, 101)
HSLhsl(134, 20%, 44%)
HSVhsv(134, 34%, 53%)
CMYKcmyk(33.8%, 0%, 25.7%, 46.7%)
CIE-LABlab(52.64, -23.48, 13.92)
CIE-LCHlch(52.64, 27.29, 149.33°)
OKLaboklab(58.34% -0.0644 0.0355)
OKLCHoklch(58.34% 0.074 151.1)
XYZxyz(15.3687, 20.7208, 15.4991)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8865 #885A7D
analogous
#66885A #5A8865 #5A887C
triadic
#5A8865 #655A88 #88655A
tetradic
#5A8865 #5A6688 #885A7D #887C5A
square
#5A8865 #5A6688 #885A7D #887C5A
split-complementary
#5A8865 #7C5A88 #885A66
monochromatic
#293E2E #42634A #5A8865 #79A684 #9EBFA6

Accessibility & contrast

On white

4.08
#5A8865 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5A8865 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8865
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8865#FFFFFF#000000##000000
##5A88651.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#888163
Deuteranopia (green-blind)
#817C67
Tritanopia (blue-blind)
#53877E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8865;
/* rgb */ color: rgb(90, 136, 101);
/* oklch */ color: oklch(58.3% 0.074 151.1);
Tailwind
colors: {
  custom: {
    50: '#8aab91',
    500: '#5a8865',
    950: '#000000',
  },
}
SCSS
$custom: #5a8865;
$custom-light: #8aab91;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8865",
  "rgb": {
    "r": 90,
    "g": 136,
    "b": 101
  },
  "hsl": {
    "h": 134.348,
    "s": 20.354,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.07354,
    "h": 151.1
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#5A8865
secondary
#AD91A6
accent
#6BA9BD
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5A8865

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

Preview Lab → · Contrast checker → · Palette generator →

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