#5D8E24#5D8E24

#5D8E24 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.144 H 131.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D8E24
RGBrgb(93, 142, 36)
HSLhsl(88, 60%, 35%)
HSVhsv(88, 75%, 56%)
CMYKcmyk(34.5%, 0%, 74.6%, 44.3%)
CIE-LABlab(53.81, -33.72, 48.22)
CIE-LCHlch(53.81, 58.84, 124.97°)
OKLaboklab(59.05% -0.0954 0.1081)
OKLCHoklch(59.05% 0.144 131.4)
XYZxyz(14.5055, 21.8000, 5.1123)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E24 #55248E
analogous
#8E8A24 #5D8E24 #288E24
triadic
#5D8E24 #245D8E #8E245D
tetradic
#5D8E24 #248E8A #55248E #8E2428
square
#5D8E24 #248E8A #55248E #8E2428
split-complementary
#5D8E24 #24288E #8A248E
monochromatic
#1D2C0B #3D5D18 #5D8E24 #7DBF30 #9BD558

Accessibility & contrast

On white

3.92
#5D8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5D8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E24
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E24#FFFFFF#000000##000000
##5D8E241.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948310
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8e24;
/* rgb */ color: rgb(93, 142, 36);
/* oklch */ color: oklch(59.0% 0.144 131.4);
Tailwind
colors: {
  custom: {
    50: '#8faf66',
    500: '#5d8e24',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e24;
$custom-light: #8faf66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e24",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 87.736,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.14414,
    "h": 131.4
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#5D8E24
secondary
#8355B9
accent
#45E38E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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