#5D9928#5D9928

#5D9928 is a mid, vivid yellow-green. Relative luminance 0.253; OKLCH L 61.9% C 0.156 H 133.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5D9928
RGBrgb(93, 153, 40)
HSLhsl(92, 59%, 38%)
HSVhsv(92, 74%, 60%)
CMYKcmyk(39.2%, 0%, 73.9%, 40%)
CIE-LABlab(57.33, -38.35, 50.22)
CIE-LCHlch(57.33, 63.19, 127.37°)
OKLaboklab(61.93% -0.1076 0.1129)
OKLCHoklch(61.93% 0.156 133.6)
XYZxyz(16.2882, 25.2620, 6.0249)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9928 #642899
analogous
#969928 #5D9928 #28992B
triadic
#5D9928 #285D99 #99285D
tetradic
#5D9928 #289699 #642899 #992B28
square
#5D9928 #289699 #642899 #992B28
split-complementary
#5D9928 #2B2899 #992896
monochromatic
#22380F #40681B #5D9928 #7ACA35 #9AD765

Accessibility & contrast

On white

3.47
#5D9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5D9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9928
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9928#FFFFFF#000000##000000
##5D99281.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D13
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#5D9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d9928;
/* rgb */ color: rgb(93, 153, 40);
/* oklch */ color: oklch(61.9% 0.156 133.6);
Tailwind
colors: {
  custom: {
    50: '#90b76a',
    500: '#5d9928',
    950: '#000000',
  },
}
SCSS
$custom: #5d9928;
$custom-light: #90b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9928",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 91.858,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.15596,
    "h": 133.6
  },
  "luminance": 0.25263
}

Semantic roles & 50–950 ramp

primary
#5D9928
secondary
#9160BD
accent
#46E299
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9928

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

Preview Lab → · Contrast checker → · Palette generator →

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