#5A8666#5A8666

#5A8666 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.9% C 0.069 H 152.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A8666
RGBrgb(90, 134, 102)
HSLhsl(136, 20%, 44%)
HSVhsv(136, 33%, 53%)
CMYKcmyk(32.8%, 0%, 23.9%, 47.5%)
CIE-LABlab(52.04, -22.25, 12.52)
CIE-LCHlch(52.04, 25.53, 150.65°)
OKLaboklab(57.86% -0.0612 0.032)
OKLCHoklch(57.86% 0.069 152.4)
XYZxyz(15.1390, 20.1824, 15.6657)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8666 #865A7A
analogous
#64865A #5A8666 #5A867C
triadic
#5A8666 #665A86 #86665A
tetradic
#5A8666 #5A6486 #865A7A #867C5A
square
#5A8666 #5A6486 #865A7A #867C5A
split-complementary
#5A8666 #7C5A86 #865A64
monochromatic
#293D2E #41614A #5A8666 #79A585 #9DBDA6

Accessibility & contrast

On white

4.17
#5A8666 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5A8666 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8666
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8666#FFFFFF#000000##000000
##5A86661.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867F64
Deuteranopia (green-blind)
#7F7A68
Tritanopia (blue-blind)
#53857D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a8666;
/* rgb */ color: rgb(90, 134, 102);
/* oklch */ color: oklch(57.9% 0.069 152.4);
Tailwind
colors: {
  custom: {
    50: '#8aa991',
    500: '#5a8666',
    950: '#000000',
  },
}
SCSS
$custom: #5a8666;
$custom-light: #8aa991;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8666",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 102
  },
  "hsl": {
    "h": 136.364,
    "s": 19.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57864,
    "c": 0.06906,
    "h": 152.4
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#5A8666
secondary
#AB91A4
accent
#6CA6BC
background
#F8FAF8
surface
#F0F4F0
border
#CBCECB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5A8666

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

Preview Lab → · Contrast checker → · Palette generator →

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