#5D7E20#5D7E20

#5D7E20 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.126 H 127.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E20
RGBrgb(93, 126, 32)
HSLhsl(81, 59%, 31%)
HSVhsv(81, 75%, 49%)
CMYKcmyk(26.2%, 0%, 74.6%, 50.6%)
CIE-LABlab(48.70, -26.42, 44.68)
CIE-LCHlch(48.70, 51.91, 120.60°)
OKLaboklab(54.88% -0.0758 0.1)
OKLCHoklch(54.88% 0.126 127.2)
XYZxyz(12.2358, 17.3529, 4.0710)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E20 #41207E
analogous
#7E7020 #5D7E20 #2E7E20
triadic
#5D7E20 #205D7E #7E205D
tetradic
#5D7E20 #207E70 #41207E #7E202E
square
#5D7E20 #207E70 #41207E #7E202E
split-complementary
#5D7E20 #202E7E #70207E
monochromatic
#151C07 #394D14 #5D7E20 #81AF2C #A1D048

Accessibility & contrast

On white

4.70
#5D7E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D7E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E20
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E20#FFFFFF#000000##FFFFFF
##5D7E201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750F
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#61786C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e20;
/* rgb */ color: rgb(93, 126, 32);
/* oklch */ color: oklch(54.9% 0.126 127.2);
Tailwind
colors: {
  custom: {
    50: '#8ea362',
    500: '#5d7e20',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e20;
$custom-light: #8ea362;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e20",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 81.064,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.12552,
    "h": 127.2
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#5D7E20
secondary
#6D49B1
accent
#45E37C
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5D7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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