#5D9121#5D9121

#5D9121 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.8% C 0.150 H 131.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D9121
RGBrgb(93, 145, 33)
HSLhsl(88, 63%, 35%)
HSVhsv(88, 77%, 57%)
CMYKcmyk(35.9%, 0%, 77.2%, 43.1%)
CIE-LABlab(54.75, -35.27, 50.21)
CIE-LCHlch(54.75, 61.36, 125.08°)
OKLaboklab(59.81% -0.0998 0.1118)
OKLCHoklch(59.81% 0.15 131.8)
XYZxyz(14.9140, 22.6872, 5.0318)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9121 #552191
analogous
#918D21 #5D9121 #259121
triadic
#5D9121 #215D91 #91215D
tetradic
#5D9121 #21918D #552191 #912125
square
#5D9121 #21918D #552191 #912125
split-complementary
#5D9121 #212591 #8D2191
monochromatic
#1D2D0A #3D5F16 #5D9121 #7DC32C #9BD854

Accessibility & contrast

On white

3.79
#5D9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5D9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9121
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9121#FFFFFF#000000##000000
##5D91211.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978606
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#5E8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d9121;
/* rgb */ color: rgb(93, 145, 33);
/* oklch */ color: oklch(59.8% 0.150 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fb165',
    500: '#5d9121',
    950: '#000000',
  },
}
SCSS
$custom: #5d9121;
$custom-light: #8fb165;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9121",
  "rgb": {
    "r": 93,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 87.857,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.14984,
    "h": 131.8
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#5D9121
secondary
#8352BC
accent
#42E68E
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9121

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

Preview Lab → · Contrast checker → · Palette generator →

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