#5A7262#5A7262

#5A7262 is a mid, muted green. Relative luminance 0.151; OKLCH L 52.8% C 0.038 H 155.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A7262
RGBrgb(90, 114, 98)
HSLhsl(140, 12%, 40%)
HSVhsv(140, 21%, 45%)
CMYKcmyk(21.1%, 0%, 14%, 55.3%)
CIE-LABlab(45.76, -12.35, 5.99)
CIE-LCHlch(45.76, 13.72, 154.12°)
OKLaboklab(52.79% -0.0344 0.0155)
OKLCHoklch(52.79% 0.038 155.7)
XYZxyz(12.4378, 15.0898, 13.8102)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7262 #725A6A
analogous
#5E725A #5A7262 #5A726E
triadic
#5A7262 #625A72 #72625A
tetradic
#5A7262 #5A5E72 #725A6A #726E5A
square
#5A7262 #5A5E72 #725A6A #726E5A
split-complementary
#5A7262 #6E5A72 #725A5E
monochromatic
#242E27 #3F5045 #5A7262 #769380 #98AEA0

Accessibility & contrast

On white

5.23
#5A7262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5A7262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7262
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7262#FFFFFF#000000##FFFFFF
##5A72621.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726E61
Deuteranopia (green-blind)
#6E6B63
Tritanopia (blue-blind)
#56716D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a7262;
/* rgb */ color: rgb(90, 114, 98);
/* oklch */ color: oklch(52.8% 0.038 155.7);
Tailwind
colors: {
  custom: {
    50: '#899a8e',
    500: '#5a7262',
    950: '#000000',
  },
}
SCSS
$custom: #5a7262;
$custom-light: #899a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7262",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 98
  },
  "hsl": {
    "h": 140,
    "s": 11.765,
    "l": 40
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.03773,
    "h": 155.7
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#5A7262
secondary
#9D8B97
accent
#739FB5
background
#F8F9F8
surface
#F0F2F0
border
#CBCCCB
text
#0B0E0C
muted
#7C7E7D

Preview Lab

Preview with #5A7262

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

Preview Lab → · Contrast checker → · Palette generator →

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