#5D9021#5D9021

#5D9021 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.5% C 0.149 H 131.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5D9021
RGBrgb(93, 144, 33)
HSLhsl(88, 63%, 35%)
HSVhsv(88, 77%, 56%)
CMYKcmyk(35.4%, 0%, 77.1%, 43.5%)
CIE-LABlab(54.43, -34.82, 49.90)
CIE-LCHlch(54.43, 60.85, 124.90°)
OKLaboklab(59.55% -0.0986 0.1111)
OKLCHoklch(59.55% 0.149 131.6)
XYZxyz(14.7618, 22.3829, 4.9811)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9021 #542190
analogous
#908C21 #5D9021 #259021
triadic
#5D9021 #215D90 #90215D
tetradic
#5D9021 #21908C #542190 #902125
square
#5D9021 #21908C #542190 #902125
split-complementary
#5D9021 #212590 #8C2190
monochromatic
#1D2C0A #3D5E16 #5D9021 #7DC22C #9BD854

Accessibility & contrast

On white

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

On black

5.48
#5D9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9021
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9021#FFFFFF#000000##000000
##5D90211.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968507
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#5F8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d9021;
/* rgb */ color: rgb(93, 144, 33);
/* oklch */ color: oklch(59.5% 0.149 131.6);
Tailwind
colors: {
  custom: {
    50: '#8fb165',
    500: '#5d9021',
    950: '#000000',
  },
}
SCSS
$custom: #5d9021;
$custom-light: #8fb165;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9021",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 87.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.14855,
    "h": 131.6
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#5D9021
secondary
#8251BB
accent
#42E68D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D9021

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

Preview Lab → · Contrast checker → · Palette generator →

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