#5D9824#5D9824

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

Color values

HEX#5D9824
RGBrgb(93, 152, 36)
HSLhsl(91, 62%, 37%)
HSVhsv(91, 76%, 60%)
CMYKcmyk(38.8%, 0%, 76.3%, 40.4%)
CIE-LABlab(56.99, -38.18, 51.33)
CIE-LCHlch(56.99, 63.97, 126.64°)
OKLaboklab(61.64% -0.1074 0.1146)
OKLCHoklch(61.64% 0.157 133.2)
XYZxyz(16.0606, 24.9103, 5.6306)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9824 #5F2498
analogous
#979824 #5D9824 #249825
triadic
#5D9824 #245D98 #98245D
tetradic
#5D9824 #249798 #5F2498 #982524
square
#5D9824 #249798 #5F2498 #982524
split-complementary
#5D9824 #252498 #982497
monochromatic
#20350D #3F6718 #5D9824 #7BC930 #9AD95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9824#FFFFFF#000000##000000
##5D98241.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)
#9E8C0A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#5D9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d9824;
/* rgb */ color: rgb(93, 152, 36);
/* oklch */ color: oklch(61.6% 0.157 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b768',
    500: '#5d9824',
    950: '#000000',
  },
}
SCSS
$custom: #5d9824;
$custom-light: #90b768;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9824",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 90.517,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.15709,
    "h": 133.2
  },
  "luminance": 0.24911
}

Semantic roles & 50–950 ramp

primary
#5D9824
secondary
#8D5ABE
accent
#43E595
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9824

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

Preview Lab → · Contrast checker → · Palette generator →

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