#5A7256#5A7256

#5A7256 is a mid, muted green. Relative luminance 0.149; OKLCH L 52.5% C 0.052 H 141.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5A7256
RGBrgb(90, 114, 86)
HSLhsl(111, 14%, 39%)
HSVhsv(111, 25%, 45%)
CMYKcmyk(21.1%, 0%, 24.6%, 55.3%)
CIE-LABlab(45.47, -14.73, 12.70)
CIE-LCHlch(45.47, 19.45, 139.22°)
OKLaboklab(52.46% -0.0401 0.0324)
OKLCHoklch(52.46% 0.052 141.1)
XYZxyz(11.9131, 14.8799, 11.0467)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7256 #6E5672
analogous
#687256 #5A7256 #567260
triadic
#5A7256 #565A72 #72565A
tetradic
#5A7256 #566872 #6E5672 #726056
square
#5A7256 #566872 #6E5672 #726056
split-complementary
#5A7256 #605672 #725668
monochromatic
#232C21 #3E4F3C #5A7256 #769471 #98AE94

Accessibility & contrast

On white

5.28
#5A7256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5A7256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7256
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7256#FFFFFF#000000##FFFFFF
##5A72561.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D54
Deuteranopia (green-blind)
#706B57
Tritanopia (blue-blind)
#59706A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a7256;
/* rgb */ color: rgb(90, 114, 86);
/* oklch */ color: oklch(52.5% 0.052 141.1);
Tailwind
colors: {
  custom: {
    50: '#899a85',
    500: '#5a7256',
    950: '#000000',
  },
}
SCSS
$custom: #5a7256;
$custom-light: #899a85;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7256",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 86
  },
  "hsl": {
    "h": 111.429,
    "s": 14,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.05156,
    "h": 141.1
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#5A7256
secondary
#9A879D
accent
#71B7AD
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0B0E0B
muted
#7C7E7C

Preview Lab

Preview with #5A7256

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

Preview Lab → · Contrast checker → · Palette generator →

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