#5D8B20#5D8B20

#5D8B20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.143 H 130.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D8B20
RGBrgb(93, 139, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 77%, 55%)
CMYKcmyk(33.1%, 0%, 77%, 45.5%)
CIE-LABlab(52.84, -32.60, 48.72)
CIE-LCHlch(52.84, 58.62, 123.79°)
OKLaboklab(58.24% -0.0926 0.1085)
OKLCHoklch(58.24% 0.143 130.5)
XYZxyz(14.0074, 20.8962, 4.6616)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B20 #4E208B
analogous
#8B8320 #5D8B20 #288B20
triadic
#5D8B20 #205D8B #8B205D
tetradic
#5D8B20 #208B83 #4E208B #8B2028
square
#5D8B20 #208B83 #4E208B #8B2028
split-complementary
#5D8B20 #20288B #83208B
monochromatic
#1A2809 #3C5915 #5D8B20 #7EBD2B #9CD64F

Accessibility & contrast

On white

4.05
#5D8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5D8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B20
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B20#FFFFFF#000000##000000
##5D8B201.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928008
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#5F8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b20;
/* rgb */ color: rgb(93, 139, 32);
/* oklch */ color: oklch(58.2% 0.143 130.5);
Tailwind
colors: {
  custom: {
    50: '#8fad64',
    500: '#5d8b20',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b20;
$custom-light: #8fad64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b20",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 85.794,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.14266,
    "h": 130.5
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#5D8B20
secondary
#7C4DBA
accent
#42E688
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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