#5A954A#5A954A

#5A954A is a mid, vivid green. Relative luminance 0.242; OKLCH L 61.1% C 0.124 H 139.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A954A
RGBrgb(90, 149, 74)
HSLhsl(107, 34%, 44%)
HSVhsv(107, 50%, 58%)
CMYKcmyk(39.6%, 0%, 50.3%, 41.6%)
CIE-LABlab(56.25, -34.20, 33.48)
CIE-LCHlch(56.25, 47.86, 135.61°)
OKLaboklab(61.11% -0.0937 0.0807)
OKLCHoklch(61.11% 0.124 139.3)
XYZxyz(16.1994, 24.1621, 10.2874)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A954A #854A95
analogous
#7F954A #5A954A #4A955F
triadic
#5A954A #4A5A95 #954A5A
tetradic
#5A954A #4A7F95 #854A95 #955F4A
square
#5A954A #4A7F95 #854A95 #955F4A
split-complementary
#5A954A #5F4A95 #954A7F
monochromatic
#294321 #416C36 #5A954A #78B468 #9DC891

Accessibility & contrast

On white

3.60
#5A954A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5A954A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A954A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A954A#FFFFFF#000000##000000
##5A954A1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A44
Deuteranopia (green-blind)
#90854F
Tritanopia (blue-blind)
#569184
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a954a;
/* rgb */ color: rgb(90, 149, 74);
/* oklch */ color: oklch(61.1% 0.124 139.3);
Tailwind
colors: {
  custom: {
    50: '#8cb47e',
    500: '#5a954a',
    950: '#000000',
  },
}
SCSS
$custom: #5a954a;
$custom-light: #8cb47e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a954a",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 74
  },
  "hsl": {
    "h": 107.2,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.12365,
    "h": 139.3
  },
  "luminance": 0.24163
}

Semantic roles & 50–950 ramp

primary
#5A954A
secondary
#AB86B4
accent
#5ECAB3
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C110A
muted
#7D807C

Preview Lab

Preview with #5A954A

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

Preview Lab → · Contrast checker → · Palette generator →

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