#5D9728#5D9728

#5D9728 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.153 H 133.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5D9728
RGBrgb(93, 151, 40)
HSLhsl(91, 58%, 37%)
HSVhsv(91, 74%, 59%)
CMYKcmyk(38.4%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.70, -37.48, 49.58)
CIE-LCHlch(56.70, 62.16, 127.08°)
OKLaboklab(61.41% -0.1053 0.1116)
OKLCHoklch(61.41% 0.153 133.3)
XYZxyz(15.9636, 24.6128, 5.9167)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9728 #622897
analogous
#959728 #5D9728 #28972A
triadic
#5D9728 #285D97 #97285D
tetradic
#5D9728 #289597 #622897 #972A28
square
#5D9728 #289597 #622897 #972A28
split-complementary
#5D9728 #2A2897 #972895
monochromatic
#21360E #3F671B #5D9728 #7BC735 #9AD664

Accessibility & contrast

On white

3.55
#5D9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5D9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9728
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9728#FFFFFF#000000##000000
##5D97281.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#5D9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d9728;
/* rgb */ color: rgb(93, 151, 40);
/* oklch */ color: oklch(61.4% 0.153 133.3);
Tailwind
colors: {
  custom: {
    50: '#90b669',
    500: '#5d9728',
    950: '#000000',
  },
}
SCSS
$custom: #5d9728;
$custom-light: #90b669;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9728",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 91.351,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.15337,
    "h": 133.3
  },
  "luminance": 0.24614
}

Semantic roles & 50–950 ramp

primary
#5D9728
secondary
#8F5FBC
accent
#46E197
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9728

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

Preview Lab → · Contrast checker → · Palette generator →

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