#5D9828#5D9828

#5D9828 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.7% C 0.155 H 133.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D9828
RGBrgb(93, 152, 40)
HSLhsl(92, 58%, 38%)
HSVhsv(92, 74%, 60%)
CMYKcmyk(38.8%, 0%, 73.7%, 40.4%)
CIE-LABlab(57.01, -37.92, 49.90)
CIE-LCHlch(57.01, 62.67, 127.23°)
OKLaboklab(61.67% -0.1064 0.1122)
OKLCHoklch(61.67% 0.155 133.5)
XYZxyz(16.1252, 24.9361, 5.9706)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9828 #632898
analogous
#959828 #5D9828 #28982B
triadic
#5D9828 #285D98 #98285D
tetradic
#5D9828 #289598 #632898 #982B28
square
#5D9828 #289598 #632898 #982B28
split-complementary
#5D9828 #2B2898 #982895
monochromatic
#22370F #3F681B #5D9828 #7BC835 #9AD664

Accessibility & contrast

On white

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

On black

5.99
#5D9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9828
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9828#FFFFFF#000000##000000
##5D98281.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#5D9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d9828;
/* rgb */ color: rgb(93, 152, 40);
/* oklch */ color: oklch(61.7% 0.155 133.5);
Tailwind
colors: {
  custom: {
    50: '#90b76a',
    500: '#5d9828',
    950: '#000000',
  },
}
SCSS
$custom: #5d9828;
$custom-light: #90b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9828",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 91.607,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61669,
    "c": 0.15467,
    "h": 133.5
  },
  "luminance": 0.24937
}

Semantic roles & 50–950 ramp

primary
#5D9828
secondary
#9060BC
accent
#46E298
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9828

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

Preview Lab → · Contrast checker → · Palette generator →

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