#5D9028#5D9028

#5D9028 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.144 H 132.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D9028
RGBrgb(93, 144, 40)
HSLhsl(89, 57%, 36%)
HSVhsv(89, 72%, 56%)
CMYKcmyk(35.4%, 0%, 72.2%, 43.5%)
CIE-LABlab(54.48, -34.36, 47.35)
CIE-LCHlch(54.48, 58.50, 125.97°)
OKLaboklab(59.6% -0.0968 0.1069)
OKLCHoklch(59.6% 0.144 132.2)
XYZxyz(14.8703, 22.4263, 5.5523)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9028 #5B2890
analogous
#908F28 #5D9028 #299028
triadic
#5D9028 #285D90 #90285D
tetradic
#5D9028 #28908F #5B2890 #902829
square
#5D9028 #28908F #5B2890 #902829
split-complementary
#5D9028 #282990 #8F2890
monochromatic
#1F300D #3E601B #5D9028 #7CC035 #9AD360

Accessibility & contrast

On white

3.83
#5D9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5D9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9028
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9028#FFFFFF#000000##000000
##5D90281.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#5E8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d9028;
/* rgb */ color: rgb(93, 144, 40);
/* oklch */ color: oklch(59.6% 0.144 132.2);
Tailwind
colors: {
  custom: {
    50: '#8fb169',
    500: '#5d9028',
    950: '#000000',
  },
}
SCSS
$custom: #5d9028;
$custom-light: #8fb169;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9028",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 89.423,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.14418,
    "h": 132.2
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#5D9028
secondary
#895CB8
accent
#48E092
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D9028

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

Preview Lab → · Contrast checker → · Palette generator →

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