#5D7D20#5D7D20

#5D7D20 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.124 H 126.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D20
RGBrgb(93, 125, 32)
HSLhsl(81, 59%, 31%)
HSVhsv(81, 74%, 49%)
CMYKcmyk(25.6%, 0%, 74.4%, 51%)
CIE-LABlab(48.38, -25.93, 44.36)
CIE-LCHlch(48.38, 51.38, 120.31°)
OKLaboklab(54.62% -0.0745 0.0994)
OKLCHoklch(54.62% 0.124 126.9)
XYZxyz(12.1086, 17.0985, 4.0286)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D20 #40207D
analogous
#7D6E20 #5D7D20 #2E7D20
triadic
#5D7D20 #205D7D #7D205D
tetradic
#5D7D20 #207D6E #40207D #7D202E
square
#5D7D20 #207D6E #40207D #7D202E
split-complementary
#5D7D20 #202E7D #6E207D
monochromatic
#141C07 #394C14 #5D7D20 #81AE2C #A1D047

Accessibility & contrast

On white

4.75
#5D7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D20#FFFFFF#000000##FFFFFF
##5D7D201.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d20;
/* rgb */ color: rgb(93, 125, 32);
/* oklch */ color: oklch(54.6% 0.124 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea262',
    500: '#5d7d20',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d20;
$custom-light: #8ea262;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d20",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 80.645,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.12418,
    "h": 126.9
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#5D7D20
secondary
#6C49B0
accent
#45E27B
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5D7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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