#5A905C#5A905C

#5A905C is a mid, moderate green. Relative luminance 0.229; OKLCH L 60.2% C 0.097 H 145.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5A905C
RGBrgb(90, 144, 92)
HSLhsl(122, 23%, 46%)
HSVhsv(122, 38%, 56%)
CMYKcmyk(37.5%, 0%, 36.1%, 43.5%)
CIE-LABlab(54.96, -29.10, 22.15)
CIE-LCHlch(54.96, 36.57, 142.72°)
OKLaboklab(60.16% -0.0793 0.0554)
OKLCHoklch(60.16% 0.097 145.1)
XYZxyz(16.1207, 22.8920, 13.6923)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A905C #905A8E
analogous
#73905A #5A905C #5A9077
triadic
#5A905C #5C5A90 #905C5A
tetradic
#5A905C #5A7390 #905A8E #90775A
square
#5A905C #5A7390 #905A8E #90775A
split-complementary
#5A905C #775A90 #905A73
monochromatic
#2B452C #426A44 #5A905C #7BAC7D #A0C4A2

Accessibility & contrast

On white

3.76
#5A905C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5A905C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A905C
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A905C#FFFFFF#000000##000000
##5A905C1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928759
Deuteranopia (green-blind)
#8A815F
Tritanopia (blue-blind)
#548D83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a905c;
/* rgb */ color: rgb(90, 144, 92);
/* oklch */ color: oklch(60.2% 0.097 145.1);
Tailwind
colors: {
  custom: {
    50: '#8bb18a',
    500: '#5a905c',
    950: '#000000',
  },
}
SCSS
$custom: #5a905c;
$custom-light: #8bb18a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a905c",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 92
  },
  "hsl": {
    "h": 122.222,
    "s": 23.077,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.09671,
    "h": 145.1
  },
  "luminance": 0.22893
}

Semantic roles & 50–950 ramp

primary
#5A905C
secondary
#B294B1
accent
#68BCC0
background
#F8FAF8
surface
#F0F5F0
border
#CBCFCB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5A905C

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

Preview Lab → · Contrast checker → · Palette generator →

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