#5A7253#5A7253

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

Color values

HEX#5A7253
RGBrgb(90, 114, 83)
HSLhsl(106, 16%, 39%)
HSVhsv(106, 27%, 45%)
CMYKcmyk(21.1%, 0%, 27.2%, 55.3%)
CIE-LABlab(45.40, -15.28, 14.38)
CIE-LCHlch(45.40, 20.98, 136.74°)
OKLaboklab(52.39% -0.0415 0.0365)
OKLCHoklch(52.39% 0.055 138.7)
XYZxyz(11.7947, 14.8325, 10.4235)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7253 #6B5372
analogous
#697253 #5A7253 #53725B
triadic
#5A7253 #535A72 #72535A
tetradic
#5A7253 #536972 #6B5372 #725B53
square
#5A7253 #536972 #6B5372 #725B53
split-complementary
#5A7253 #5B5372 #725369
monochromatic
#222B1F #3E4F39 #5A7253 #76956D #97AF91

Accessibility & contrast

On white

5.29
#5A7253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5A7253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7253
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7253#FFFFFF#000000##FFFFFF
##5A72531.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746D51
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#59706A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a7253;
/* rgb */ color: rgb(90, 114, 83);
/* oklch */ color: oklch(52.4% 0.055 138.7);
Tailwind
colors: {
  custom: {
    50: '#899a83',
    500: '#5a7253',
    950: '#000000',
  },
}
SCSS
$custom: #5a7253;
$custom-light: #899a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7253",
  "rgb": {
    "r": 90,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 106.452,
    "s": 15.736,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.05529,
    "h": 138.7
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#5A7253
secondary
#97849D
accent
#6FB8A8
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0B0E0A
muted
#7C7E7C

Preview Lab

Preview with #5A7253

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

Preview Lab → · Contrast checker → · Palette generator →

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