#5D971F#5D971F

#5D971F is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.3% C 0.159 H 132.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5D971F
RGBrgb(93, 151, 31)
HSLhsl(89, 66%, 36%)
HSVhsv(89, 79%, 59%)
CMYKcmyk(38.4%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.64, -38.03, 52.67)
CIE-LCHlch(56.64, 64.97, 125.83°)
OKLaboklab(61.35% -0.1074 0.1166)
OKLCHoklch(61.35% 0.159 132.6)
XYZxyz(15.8279, 24.5586, 5.2024)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D971F #591F97
analogous
#97951F #5D971F #21971F
triadic
#5D971F #1F5D97 #971F5D
tetradic
#5D971F #1F9795 #591F97 #971F21
square
#5D971F #1F9795 #591F97 #971F21
split-complementary
#5D971F #1F2197 #951F97
monochromatic
#1E310A #3E6415 #5D971F #7CCA29 #9ADC54

Accessibility & contrast

On white

3.55
#5D971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5D971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D971F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D971F#FFFFFF#000000##000000
##5D971F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#5E9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d971f;
/* rgb */ color: rgb(93, 151, 31);
/* oklch */ color: oklch(61.3% 0.159 132.6);
Tailwind
colors: {
  custom: {
    50: '#90b665',
    500: '#5d971f',
    950: '#000000',
  },
}
SCSS
$custom: #5d971f;
$custom-light: #90b665;
$custom-dark: #000000;
JSON
{
  "hex": "#5d971f",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 89,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.15854,
    "h": 132.6
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#5D971F
secondary
#8752BF
accent
#3FE991
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D971F

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

Preview Lab → · Contrast checker → · Palette generator →

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