#5D8D22#5D8D22

#5D8D22 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.144 H 131.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D8D22
RGBrgb(93, 141, 34)
HSLhsl(87, 61%, 34%)
HSVhsv(87, 76%, 55%)
CMYKcmyk(34%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.48, -33.40, 48.63)
CIE-LCHlch(53.48, 58.99, 124.48°)
OKLaboklab(58.78% -0.0946 0.1086)
OKLCHoklch(58.78% 0.144 131.1)
XYZxyz(14.3277, 21.4919, 4.9065)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D22 #52228D
analogous
#8D8822 #5D8D22 #288D22
triadic
#5D8D22 #225D8D #8D225D
tetradic
#5D8D22 #228D88 #52228D #8D2228
square
#5D8D22 #228D88 #52228D #8D2228
split-complementary
#5D8D22 #22288D #88228D
monochromatic
#1C2A0A #3C5C16 #5D8D22 #7EBE2E #9BD654

Accessibility & contrast

On white

3.96
#5D8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5D8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D22
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D22#FFFFFF#000000##000000
##5D8D221.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#5F8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d22;
/* rgb */ color: rgb(93, 141, 34);
/* oklch */ color: oklch(58.8% 0.144 131.1);
Tailwind
colors: {
  custom: {
    50: '#8fae65',
    500: '#5d8d22',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d22;
$custom-light: #8fae65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d22",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 86.916,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.14407,
    "h": 131.1
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#5D8D22
secondary
#8051B9
accent
#44E48C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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