#5D9822#5D9822

#5D9822 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.158 H 133.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D9822
RGBrgb(93, 152, 34)
HSLhsl(90, 63%, 36%)
HSVhsv(90, 78%, 60%)
CMYKcmyk(38.8%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.98, -38.30, 52.00)
CIE-LCHlch(56.98, 64.59, 126.37°)
OKLaboklab(61.63% -0.1079 0.1157)
OKLCHoklch(61.63% 0.158 133)
XYZxyz(16.0309, 24.8984, 5.4743)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9822 #5D2298
analogous
#989822 #5D9822 #229822
triadic
#5D9822 #225D98 #98225D
tetradic
#5D9822 #229898 #5D2298 #982222
square
#5D9822 #229898 #5D2298 #982222
split-complementary
#5D9822 #222298 #982298
monochromatic
#20340C #3E6617 #5D9822 #7CCA2D #9ADA5A

Accessibility & contrast

On white

3.51
#5D9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5D9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9822
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9822#FFFFFF#000000##000000
##5D98221.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C04
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#5D9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d9822;
/* rgb */ color: rgb(93, 152, 34);
/* oklch */ color: oklch(61.6% 0.158 133.0);
Tailwind
colors: {
  custom: {
    50: '#90b767',
    500: '#5d9822',
    950: '#000000',
  },
}
SCSS
$custom: #5d9822;
$custom-light: #90b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9822",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.15821,
    "h": 133
  },
  "luminance": 0.24899
}

Semantic roles & 50–950 ramp

primary
#5D9822
secondary
#8B57BE
accent
#41E694
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9822

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

Preview Lab → · Contrast checker → · Palette generator →

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