#5D8E22#5D8E22

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

Color values

HEX#5D8E22
RGBrgb(93, 142, 34)
HSLhsl(87, 61%, 35%)
HSVhsv(87, 76%, 56%)
CMYKcmyk(34.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.80, -33.85, 48.94)
CIE-LCHlch(53.80, 59.51, 124.67°)
OKLaboklab(59.03% -0.0959 0.1093)
OKLCHoklch(59.03% 0.145 131.3)
XYZxyz(14.4758, 21.7881, 4.9559)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E22 #53228E
analogous
#8E8922 #5D8E22 #278E22
triadic
#5D8E22 #225D8E #8E225D
tetradic
#5D8E22 #228E89 #53228E #8E2227
square
#5D8E22 #228E89 #53228E #8E2227
split-complementary
#5D8E22 #22278E #89228E
monochromatic
#1C2B0A #3D5D16 #5D8E22 #7DBF2E #9BD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8E22#FFFFFF#000000##000000
##5D8E221.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)
#94830B
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8e22;
/* rgb */ color: rgb(93, 142, 34);
/* oklch */ color: oklch(59.0% 0.145 131.3);
Tailwind
colors: {
  custom: {
    50: '#8faf65',
    500: '#5d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e22;
$custom-light: #8faf65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e22",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 87.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.14538,
    "h": 131.3
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#5D8E22
secondary
#8152BA
accent
#43E48C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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