#5D971A#5D971A

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

Color values

HEX#5D971A
RGBrgb(93, 151, 26)
HSLhsl(88, 71%, 35%)
HSVhsv(88, 83%, 59%)
CMYKcmyk(38.4%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.62, -38.28, 54.15)
CIE-LCHlch(56.62, 66.32, 125.26°)
OKLaboklab(61.32% -0.1084 0.119)
OKLCHoklch(61.32% 0.161 132.3)
XYZxyz(15.7671, 24.5342, 4.8819)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D971A #541A97
analogous
#97931A #5D971A #1F971A
triadic
#5D971A #1A5D97 #971A5D
tetradic
#5D971A #1A9793 #541A97 #971A1F
square
#5D971A #1A9793 #541A97 #971A1F
split-complementary
#5D971A #1A1F97 #931A97
monochromatic
#1D2F08 #3D6311 #5D971A #7DCB23 #9BE04B

Accessibility & contrast

On white

3.56
#5D971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D971A#FFFFFF#000000##000000
##5D971A1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#5E9080
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d971a;
/* rgb */ color: rgb(93, 151, 26);
/* oklch */ color: oklch(61.3% 0.161 132.3);
Tailwind
colors: {
  custom: {
    50: '#90b663',
    500: '#5d971a',
    950: '#000000',
  },
}
SCSS
$custom: #5d971a;
$custom-light: #90b663;
$custom-dark: #000000;
JSON
{
  "hex": "#5d971a",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 87.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.16093,
    "h": 132.3
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#5D971A
secondary
#824BC2
accent
#3AED8D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D971A

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

Preview Lab → · Contrast checker → · Palette generator →

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