#5D8A24#5D8A24

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

Color values

HEX#5D8A24
RGBrgb(93, 138, 36)
HSLhsl(86, 59%, 34%)
HSVhsv(86, 74%, 54%)
CMYKcmyk(32.6%, 0%, 73.9%, 45.9%)
CIE-LABlab(52.54, -31.88, 46.95)
CIE-LCHlch(52.54, 56.76, 124.18°)
OKLaboklab(58.01% -0.0904 0.1054)
OKLCHoklch(58.01% 0.139 130.6)
XYZxyz(13.9210, 20.6310, 4.9174)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A24 #51248A
analogous
#8A8424 #5D8A24 #2A8A24
triadic
#5D8A24 #245D8A #8A245D
tetradic
#5D8A24 #248A84 #51248A #8A242A
square
#5D8A24 #248A84 #51248A #8A242A
split-complementary
#5D8A24 #242A8A #84248A
monochromatic
#1C290B #3C5917 #5D8A24 #7EBB31 #9CD356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A24#FFFFFF#000000##000000
##5D8A241.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)
#908012
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#5F8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a24;
/* rgb */ color: rgb(93, 138, 36);
/* oklch */ color: oklch(58.0% 0.139 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fac66',
    500: '#5d8a24',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a24;
$custom-light: #8fac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a24",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 86.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.13887,
    "h": 130.6
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#5D8A24
secondary
#7F53B7
accent
#46E28B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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