#5D9321#5D9321

#5D9321 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.3% C 0.152 H 132.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5D9321
RGBrgb(93, 147, 33)
HSLhsl(88, 63%, 35%)
HSVhsv(88, 78%, 58%)
CMYKcmyk(36.7%, 0%, 77.6%, 42.4%)
CIE-LABlab(55.38, -36.16, 50.82)
CIE-LCHlch(55.38, 62.37, 125.43°)
OKLaboklab(60.32% -0.1022 0.1131)
OKLCHoklch(60.32% 0.152 132.1)
XYZxyz(15.2223, 23.3038, 5.1346)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9321 #572193
analogous
#939021 #5D9321 #249321
triadic
#5D9321 #215D93 #93215D
tetradic
#5D9321 #219390 #572193 #932124
square
#5D9321 #219390 #572193 #932124
split-complementary
#5D9321 #212493 #902193
monochromatic
#1E2F0B #3D6116 #5D9321 #7DC52C #9BD955

Accessibility & contrast

On white

3.71
#5D9321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5D9321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9321
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9321#FFFFFF#000000##000000
##5D93211.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#5E8D7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d9321;
/* rgb */ color: rgb(93, 147, 33);
/* oklch */ color: oklch(60.3% 0.152 132.1);
Tailwind
colors: {
  custom: {
    50: '#90b366',
    500: '#5d9321',
    950: '#000000',
  },
}
SCSS
$custom: #5d9321;
$custom-light: #90b366;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9321",
  "rgb": {
    "r": 93,
    "g": 147,
    "b": 33
  },
  "hsl": {
    "h": 88.421,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.1524,
    "h": 132.1
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#5D9321
secondary
#8553BD
accent
#41E690
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9321

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

Preview Lab → · Contrast checker → · Palette generator →

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