#5A9155#5A9155

#5A9155 is a mid, moderate green. Relative luminance 0.231; OKLCH L 60.3% C 0.106 H 142.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5A9155
RGBrgb(90, 145, 85)
HSLhsl(115, 26%, 45%)
HSVhsv(115, 41%, 57%)
CMYKcmyk(37.9%, 0%, 41.4%, 43.1%)
CIE-LABlab(55.15, -30.73, 26.25)
CIE-LCHlch(55.15, 40.41, 139.50°)
OKLaboklab(60.28% -0.0838 0.0648)
OKLCHoklch(60.28% 0.106 142.3)
XYZxyz(15.9809, 23.0795, 12.2053)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9155 #8C5591
analogous
#789155 #5A9155 #55916E
triadic
#5A9155 #555A91 #91555A
tetradic
#5A9155 #557891 #8C5591 #916E55
square
#5A9155 #557891 #8C5591 #916E55
split-complementary
#5A9155 #6E5591 #915578
monochromatic
#2A4428 #426A3E #5A9155 #7AAE75 #9FC59C

Accessibility & contrast

On white

3.74
#5A9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5A9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9155
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9155#FFFFFF#000000##000000
##5A91551.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948751
Deuteranopia (green-blind)
#8C8259
Tritanopia (blue-blind)
#558E82
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a9155;
/* rgb */ color: rgb(90, 145, 85);
/* oklch */ color: oklch(60.3% 0.106 142.3);
Tailwind
colors: {
  custom: {
    50: '#8bb185',
    500: '#5a9155',
    950: '#000000',
  },
}
SCSS
$custom: #5a9155;
$custom-light: #8bb185;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9155",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 115,
    "s": 26.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.10593,
    "h": 142.3
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#5A9155
secondary
#AF90B2
accent
#65C2BB
background
#F8FAF8
surface
#F0F5EF
border
#CBCFCA
text
#0C110B
muted
#7D807C

Preview Lab

Preview with #5A9155

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

Preview Lab → · Contrast checker → · Palette generator →

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