#5A8A4E#5A8A4E

#5A8A4E is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.4% C 0.102 H 139.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A8A4E
RGBrgb(90, 138, 78)
HSLhsl(108, 28%, 42%)
HSVhsv(108, 43%, 54%)
CMYKcmyk(34.8%, 0%, 43.5%, 45.9%)
CIE-LABlab(52.84, -28.46, 27.07)
CIE-LCHlch(52.84, 39.28, 136.43°)
OKLaboklab(58.36% -0.0778 0.0664)
OKLCHoklch(58.36% 0.102 139.5)
XYZxyz(14.6796, 20.9000, 10.4669)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A4E #7E4E8A
analogous
#788A4E #5A8A4E #4E8A60
triadic
#5A8A4E #4E5A8A #8A4E5A
tetradic
#5A8A4E #4E788A #7E4E8A #8A604E
square
#5A8A4E #4E788A #7E4E8A #8A604E
split-complementary
#5A8A4E #604E8A #8A4E78
monochromatic
#273C22 #416338 #5A8A4E #77AB6A #9BC191

Accessibility & contrast

On white

4.05
#5A8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5A8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A4E#FFFFFF#000000##000000
##5A8A4E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#867C52
Tritanopia (blue-blind)
#57867B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a8a4e;
/* rgb */ color: rgb(90, 138, 78);
/* oklch */ color: oklch(58.4% 0.102 139.5);
Tailwind
colors: {
  custom: {
    50: '#8bac80',
    500: '#5a8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a4e;
$custom-light: #8bac80;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a4e",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 108,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.10229,
    "h": 139.5
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#5A8A4E
secondary
#A686AE
accent
#64C4B1
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5A8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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