#5A893E#5A893E

#5A893E is a mid, moderate yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.117 H 135.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A893E
RGBrgb(90, 137, 62)
HSLhsl(98, 38%, 39%)
HSVhsv(98, 55%, 54%)
CMYKcmyk(34.3%, 0%, 54.7%, 46.3%)
CIE-LABlab(52.30, -30.14, 34.85)
CIE-LCHlch(52.30, 46.08, 130.86°)
OKLaboklab(57.85% -0.0833 0.0829)
OKLCHoklch(57.85% 0.117 135.1)
XYZxyz(14.0313, 20.4122, 7.7571)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A893E #6D3E89
analogous
#80893E #5A893E #3E8948
triadic
#5A893E #3E5A89 #893E5A
tetradic
#5A893E #3E8089 #6D3E89 #89483E
square
#5A893E #3E8089 #6D3E89 #89483E
split-complementary
#5A893E #483E89 #893E80
monochromatic
#233518 #3E5F2B #5A893E #76B153 #98C47D

Accessibility & contrast

On white

4.13
#5A893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5A893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A893E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A893E#FFFFFF#000000##000000
##5A893E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F37
Deuteranopia (green-blind)
#877B43
Tritanopia (blue-blind)
#598478
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a893e;
/* rgb */ color: rgb(90, 137, 62);
/* oklch */ color: oklch(57.8% 0.117 135.1);
Tailwind
colors: {
  custom: {
    50: '#8bab75',
    500: '#5a893e',
    950: '#000000',
  },
}
SCSS
$custom: #5a893e;
$custom-light: #8bab75;
$custom-dark: #000000;
JSON
{
  "hex": "#5a893e",
  "rgb": {
    "r": 90,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 97.6,
    "s": 37.688,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.11748,
    "h": 135.1
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#5A893E
secondary
#9974AE
accent
#5ACEA3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5A893E

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

Preview Lab → · Contrast checker → · Palette generator →

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