#5D9020#5D9020

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

Color values

HEX#5D9020
RGBrgb(93, 144, 32)
HSLhsl(87, 64%, 35%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(35.4%, 0%, 77.8%, 43.5%)
CIE-LABlab(54.43, -34.88, 50.24)
CIE-LCHlch(54.43, 61.16, 124.77°)
OKLaboklab(59.54% -0.0988 0.1117)
OKLCHoklch(59.54% 0.149 131.5)
XYZxyz(14.7480, 22.3774, 4.9084)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9020 #532090
analogous
#908B20 #5D9020 #259020
triadic
#5D9020 #205D90 #90205D
tetradic
#5D9020 #20908B #532090 #902025
square
#5D9020 #20908B #532090 #902025
split-complementary
#5D9020 #202590 #8B2090
monochromatic
#1C2C0A #3D5E15 #5D9020 #7DC22B #9BD952

Accessibility & contrast

On white

3.84
#5D9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9020#FFFFFF#000000##000000
##5D90201.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#5F8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d9020;
/* rgb */ color: rgb(93, 144, 32);
/* oklch */ color: oklch(59.5% 0.149 131.5);
Tailwind
colors: {
  custom: {
    50: '#8fb165',
    500: '#5d9020',
    950: '#000000',
  },
}
SCSS
$custom: #5d9020;
$custom-light: #8fb165;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9020",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 87.321,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.14912,
    "h": 131.5
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#5D9020
secondary
#8150BC
accent
#41E78D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D9020

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

Preview Lab → · Contrast checker → · Palette generator →

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