#5A7E4A#5A7E4A

#5A7E4A is a mid, moderate green. Relative luminance 0.176; OKLCH L 55.2% C 0.087 H 136.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5A7E4A
RGBrgb(90, 126, 74)
HSLhsl(102, 26%, 39%)
HSVhsv(102, 41%, 49%)
CMYKcmyk(28.6%, 0%, 41.3%, 50.6%)
CIE-LABlab(48.99, -23.11, 24.32)
CIE-LCHlch(48.99, 33.55, 133.53°)
OKLaboklab(55.22% -0.0632 0.0599)
OKLCHoklch(55.22% 0.087 136.5)
XYZxyz(12.9130, 17.5894, 9.1920)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7E4A #6E4A7E
analogous
#747E4A #5A7E4A #4A7E54
triadic
#5A7E4A #4A5A7E #7E4A5A
tetradic
#5A7E4A #4A747E #6E4A7E #7E544A
square
#5A7E4A #4A747E #6E4A7E #7E544A
split-complementary
#5A7E4A #544A7E #7E4A74
monochromatic
#23311D #3E5733 #5A7E4A #76A362 #98BA89

Accessibility & contrast

On white

4.65
#5A7E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5A7E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7E4A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7E4A#FFFFFF#000000##FFFFFF
##5A7E4A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817646
Deuteranopia (green-blind)
#7C734D
Tritanopia (blue-blind)
#597A71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a7e4a;
/* rgb */ color: rgb(90, 126, 74);
/* oklch */ color: oklch(55.2% 0.087 136.5);
Tailwind
colors: {
  custom: {
    50: '#8aa37d',
    500: '#5a7e4a',
    950: '#000000',
  },
}
SCSS
$custom: #5a7e4a;
$custom-light: #8aa37d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7e4a",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 74
  },
  "hsl": {
    "h": 101.538,
    "s": 26,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.0871,
    "h": 136.5
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#5A7E4A
secondary
#9A7EA6
accent
#65C2A6
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #5A7E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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