#5A7252#5A7252

#5A7252 is a mid, muted green. Relative luminance 0.148; OKLCH L 52.4% C 0.057 H 138.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A7252
RGBrgb(90, 114, 82)
HSLhsl(105, 16%, 38%)
HSVhsv(105, 28%, 45%)
CMYKcmyk(21.1%, 0%, 28.1%, 55.3%)
CIE-LABlab(45.38, -15.46, 14.94)
CIE-LCHlch(45.38, 21.49, 135.98°)
OKLaboklab(52.37% -0.042 0.0379)
OKLCHoklch(52.37% 0.057 138)
XYZxyz(11.7564, 14.8172, 10.2216)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7252 #6A5272
analogous
#6A7252 #5A7252 #52725A
triadic
#5A7252 #525A72 #72525A
tetradic
#5A7252 #526A72 #6A5272 #725A52
square
#5A7252 #526A72 #6A5272 #725A52
split-complementary
#5A7252 #5A5272 #72526A
monochromatic
#222B1F #3E4E38 #5A7252 #76956C #97AF90

Accessibility & contrast

On white

5.30
#5A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5A7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7252
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7252#FFFFFF#000000##FFFFFF
##5A72521.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D50
Deuteranopia (green-blind)
#706B54
Tritanopia (blue-blind)
#597069
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a7252;
/* rgb */ color: rgb(90, 114, 82);
/* oklch */ color: oklch(52.4% 0.057 138.0);
Tailwind
colors: {
  custom: {
    50: '#899a82',
    500: '#5a7252',
    950: '#000000',
  },
}
SCSS
$custom: #5a7252;
$custom-light: #899a82;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7252",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 105,
    "s": 16.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.05655,
    "h": 138
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#5A7252
secondary
#96839D
accent
#6FB9A6
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0B0E0A
muted
#7C7E7C

Preview Lab

Preview with #5A7252

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

Preview Lab → · Contrast checker → · Palette generator →

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