#5A7E4E#5A7E4E

#5A7E4E is a mid, moderate green. Relative luminance 0.176; OKLCH L 55.3% C 0.082 H 138.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A7E4E
RGBrgb(90, 126, 78)
HSLhsl(105, 24%, 40%)
HSVhsv(105, 38%, 49%)
CMYKcmyk(28.6%, 0%, 38.1%, 50.6%)
CIE-LABlab(49.06, -22.48, 22.17)
CIE-LCHlch(49.06, 31.58, 135.40°)
OKLaboklab(55.3% -0.0614 0.0551)
OKLCHoklch(55.3% 0.082 138.1)
XYZxyz(13.0521, 17.6450, 9.9244)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7E4E #724E7E
analogous
#727E4E #5A7E4E #4E7E5A
triadic
#5A7E4E #4E5A7E #7E4E5A
tetradic
#5A7E4E #4E727E #724E7E #7E5A4E
square
#5A7E4E #4E727E #724E7E #7E5A4E
split-complementary
#5A7E4E #5A4E7E #7E4E72
monochromatic
#24321F #3F5837 #5A7E4E #76A168 #98B98E

Accessibility & contrast

On white

4.64
#5A7E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5A7E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7E4E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7E4E#FFFFFF#000000##FFFFFF
##5A7E4E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774B
Deuteranopia (green-blind)
#7B7351
Tritanopia (blue-blind)
#587B72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a7e4e;
/* rgb */ color: rgb(90, 126, 78);
/* oklch */ color: oklch(55.3% 0.082 138.1);
Tailwind
colors: {
  custom: {
    50: '#8aa380',
    500: '#5a7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a7e4e;
$custom-light: #8aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7e4e",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 105,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.08246,
    "h": 138.1
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#5A7E4E
secondary
#9D82A6
accent
#68C0AA
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #5A7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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