#5D8A34#5D8A34

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

Color values

HEX#5D8A34
RGBrgb(93, 138, 52)
HSLhsl(91, 45%, 37%)
HSVhsv(91, 62%, 54%)
CMYKcmyk(32.6%, 0%, 62.3%, 45.9%)
CIE-LABlab(52.68, -30.57, 40.23)
CIE-LCHlch(52.68, 50.52, 127.23°)
OKLaboklab(58.16% -0.0854 0.0935)
OKLCHoklch(58.16% 0.127 132.4)
XYZxyz(14.2223, 20.7515, 6.5042)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A34 #61348A
analogous
#888A34 #5D8A34 #348A36
triadic
#5D8A34 #345D8A #8A345D
tetradic
#5D8A34 #34888A #61348A #8A3634
square
#5D8A34 #34888A #61348A #8A3634
split-complementary
#5D8A34 #36348A #8A3488
monochromatic
#213113 #3F5E23 #5D8A34 #7BB645 #9AC96F

Accessibility & contrast

On white

4.08
#5D8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A34#FFFFFF#000000##000000
##5D8A341.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#5E8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a34;
/* rgb */ color: rgb(93, 138, 52);
/* oklch */ color: oklch(58.2% 0.127 132.4);
Tailwind
colors: {
  custom: {
    50: '#8eac6f',
    500: '#5d8a34',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a34;
$custom-light: #8eac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a34",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 91.395,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.12661,
    "h": 132.4
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#5D8A34
secondary
#8F69B1
accent
#53D597
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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