#5A8A37#5A8A37

#5A8A37 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.126 H 134.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5A8A37
RGBrgb(90, 138, 55)
HSLhsl(95, 43%, 38%)
HSVhsv(95, 60%, 54%)
CMYKcmyk(34.8%, 0%, 60.1%, 45.9%)
CIE-LABlab(52.54, -31.40, 38.60)
CIE-LCHlch(52.54, 49.75, 129.13°)
OKLaboklab(58.02% -0.0873 0.0903)
OKLCHoklch(58.02% 0.126 134)
XYZxyz(13.9942, 20.6259, 6.8575)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A37 #67378A
analogous
#838A37 #5A8A37 #378A3E
triadic
#5A8A37 #375A8A #8A375A
tetradic
#5A8A37 #37838A #67378A #8A3E37
square
#5A8A37 #37838A #67378A #8A3E37
split-complementary
#5A8A37 #3E378A #8A3783
monochromatic
#213214 #3D5E26 #5A8A37 #77B648 #97C874

Accessibility & contrast

On white

4.10
#5A8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5A8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A37
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A37#FFFFFF#000000##000000
##5A8A371.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#887C3D
Tritanopia (blue-blind)
#5A8578
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a8a37;
/* rgb */ color: rgb(90, 138, 55);
/* oklch */ color: oklch(58.0% 0.126 134.0);
Tailwind
colors: {
  custom: {
    50: '#8cac71',
    500: '#5a8a37',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a37;
$custom-light: #8cac71;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a37",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 94.699,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.1256,
    "h": 134
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#5A8A37
secondary
#946DB0
accent
#55D39E
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5A8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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