#5D8920#5D8920

#5D8920 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.140 H 130.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D8920
RGBrgb(93, 137, 32)
HSLhsl(85, 62%, 33%)
HSVhsv(85, 77%, 54%)
CMYKcmyk(32.1%, 0%, 76.6%, 46.3%)
CIE-LABlab(52.20, -31.67, 48.10)
CIE-LCHlch(52.20, 57.59, 123.36°)
OKLaboklab(57.73% -0.0901 0.1072)
OKLCHoklch(57.73% 0.14 130.1)
XYZxyz(13.7205, 20.3223, 4.5659)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8920 #4C2089
analogous
#898020 #5D8920 #288920
triadic
#5D8920 #205D89 #89205D
tetradic
#5D8920 #208980 #4C2089 #892028
square
#5D8920 #208980 #4C2089 #892028
split-complementary
#5D8920 #202889 #802089
monochromatic
#1A2609 #3B5714 #5D8920 #7FBB2C #9DD64E

Accessibility & contrast

On white

4.15
#5D8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8920
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8920#FFFFFF#000000##000000
##5D89201.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F09
Deuteranopia (green-blind)
#8A7B2A
Tritanopia (blue-blind)
#5F8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8920;
/* rgb */ color: rgb(93, 137, 32);
/* oklch */ color: oklch(57.7% 0.140 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fab64',
    500: '#5d8920',
    950: '#000000',
  },
}
SCSS
$custom: #5d8920;
$custom-light: #8fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8920",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 85.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.14005,
    "h": 130.1
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#5D8920
secondary
#7A4CB9
accent
#43E587
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8920

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

Preview Lab → · Contrast checker → · Palette generator →

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