#5D7F20#5D7F20

#5D7F20 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.127 H 127.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5D7F20
RGBrgb(93, 127, 32)
HSLhsl(81, 60%, 31%)
HSVhsv(81, 75%, 50%)
CMYKcmyk(26.8%, 0%, 74.8%, 50.2%)
CIE-LABlab(49.02, -26.91, 44.99)
CIE-LCHlch(49.02, 52.43, 120.88°)
OKLaboklab(55.14% -0.0772 0.1007)
OKLCHoklch(55.14% 0.127 127.5)
XYZxyz(12.3643, 17.6099, 4.1139)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7F20 #42207F
analogous
#7F7120 #5D7F20 #2D7F20
triadic
#5D7F20 #205D7F #7F205D
tetradic
#5D7F20 #207F71 #42207F #7F202D
square
#5D7F20 #207F71 #42207F #7F202D
split-complementary
#5D7F20 #202D7F #71207F
monochromatic
#151D07 #394E14 #5D7F20 #81B02C #A0D148

Accessibility & contrast

On white

4.64
#5D7F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5D7F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7F20
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7F20#FFFFFF#000000##FFFFFF
##5D7F201.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#61796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7f20;
/* rgb */ color: rgb(93, 127, 32);
/* oklch */ color: oklch(55.1% 0.127 127.5);
Tailwind
colors: {
  custom: {
    50: '#8ea462',
    500: '#5d7f20',
    950: '#000000',
  },
}
SCSS
$custom: #5d7f20;
$custom-light: #8ea462;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7f20",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 81.474,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.12685,
    "h": 127.5
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#5D7F20
secondary
#6E49B2
accent
#45E37D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D7F20

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

Preview Lab → · Contrast checker → · Palette generator →

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