#5D8A36#5D8A36

#5D8A36 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.125 H 132.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5D8A36
RGBrgb(93, 138, 54)
HSLhsl(92, 44%, 38%)
HSVhsv(92, 61%, 54%)
CMYKcmyk(32.6%, 0%, 60.9%, 45.9%)
CIE-LABlab(52.70, -30.37, 39.30)
CIE-LCHlch(52.70, 49.67, 127.70°)
OKLaboklab(58.19% -0.0847 0.0917)
OKLCHoklch(58.19% 0.125 132.7)
XYZxyz(14.2683, 20.7699, 6.7465)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A36 #63368A
analogous
#878A36 #5D8A36 #368A39
triadic
#5D8A36 #365D8A #8A365D
tetradic
#5D8A36 #36878A #63368A #8A3936
square
#5D8A36 #36878A #63368A #8A3936
split-complementary
#5D8A36 #39368A #8A3687
monochromatic
#223214 #3F5E25 #5D8A36 #7BB647 #9AC872

Accessibility & contrast

On white

4.07
#5D8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5D8A36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A36
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A36#FFFFFF#000000##000000
##5D8A361.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802D
Deuteranopia (green-blind)
#897D3C
Tritanopia (blue-blind)
#5E8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a36;
/* rgb */ color: rgb(93, 138, 54);
/* oklch */ color: oklch(58.2% 0.125 132.7);
Tailwind
colors: {
  custom: {
    50: '#8eac70',
    500: '#5d8a36',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a36;
$custom-light: #8eac70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a36",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 92.143,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.12485,
    "h": 132.7
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#5D8A36
secondary
#906BB1
accent
#54D398
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5D8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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