#5A905F#5A905F

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

Color values

HEX#5A905F
RGBrgb(90, 144, 95)
HSLhsl(126, 23%, 46%)
HSVhsv(126, 38%, 56%)
CMYKcmyk(37.5%, 0%, 34%, 43.5%)
CIE-LABlab(55.02, -28.57, 20.55)
CIE-LCHlch(55.02, 35.19, 144.27°)
OKLaboklab(60.22% -0.0779 0.0516)
OKLCHoklch(60.22% 0.093 146.5)
XYZxyz(16.2545, 22.9455, 14.3967)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A905F #905A8B
analogous
#70905A #5A905F #5A907A
triadic
#5A905F #5F5A90 #905F5A
tetradic
#5A905F #5A7090 #905A8B #907A5A
square
#5A905F #5A7090 #905A8B #907A5A
split-complementary
#5A905F #7A5A90 #905A70
monochromatic
#2B452D #426A46 #5A905F #7BAC7F #A0C4A4

Accessibility & contrast

On white

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

On black

5.59
#5A905F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A905F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A905F#FFFFFF#000000##000000
##5A905F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875C
Deuteranopia (green-blind)
#898262
Tritanopia (blue-blind)
#538E83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5a905f;
/* rgb */ color: rgb(90, 144, 95);
/* oklch */ color: oklch(60.2% 0.093 146.5);
Tailwind
colors: {
  custom: {
    50: '#8bb18c',
    500: '#5a905f',
    950: '#000000',
  },
}
SCSS
$custom: #5a905f;
$custom-light: #8bb18c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a905f",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 95
  },
  "hsl": {
    "h": 125.556,
    "s": 23.077,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.09344,
    "h": 146.5
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#5A905F
secondary
#B294AF
accent
#68B7C0
background
#F8FAF8
surface
#F0F5F0
border
#CBCFCB
text
#0C100C
muted
#7D7F7D

Preview Lab

Preview with #5A905F

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

Preview Lab → · Contrast checker → · Palette generator →

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