#5A8652#5A8652

#5A8652 is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.4% C 0.091 H 140.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5A8652
RGBrgb(90, 134, 82)
HSLhsl(111, 24%, 42%)
HSVhsv(111, 39%, 53%)
CMYKcmyk(32.8%, 0%, 38.8%, 47.5%)
CIE-LABlab(51.65, -25.87, 23.32)
CIE-LCHlch(51.65, 34.83, 137.97°)
OKLaboklab(57.42% -0.0706 0.0579)
OKLCHoklch(57.42% 0.091 140.7)
XYZxyz(14.2640, 19.8324, 11.0575)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8652 #7E5286
analogous
#748652 #5A8652 #528664
triadic
#5A8652 #525A86 #86525A
tetradic
#5A8652 #527486 #7E5286 #866452
square
#5A8652 #527486 #7E5286 #866452
split-complementary
#5A8652 #645286 #865274
monochromatic
#273A24 #41603B #5A8652 #77A76F #9BBE95

Accessibility & contrast

On white

4.23
#5A8652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5A8652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8652
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8652#FFFFFF#000000##000000
##5A86521.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#827A55
Tritanopia (blue-blind)
#578379
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a8652;
/* rgb */ color: rgb(90, 134, 82);
/* oklch */ color: oklch(57.4% 0.091 140.7);
Tailwind
colors: {
  custom: {
    50: '#8aa983',
    500: '#5a8652',
    950: '#000000',
  },
}
SCSS
$custom: #5a8652;
$custom-light: #8aa983;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8652",
  "rgb": {
    "r": 90,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 110.769,
    "s": 24.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.09129,
    "h": 140.7
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#5A8652
secondary
#A689AB
accent
#67C1B3
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C100A
muted
#7D7F7C

Preview Lab

Preview with #5A8652

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

Preview Lab → · Contrast checker → · Palette generator →

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