#5D971B#5D971B

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

Color values

HEX#5D971B
RGBrgb(93, 151, 27)
HSLhsl(88, 70%, 35%)
HSVhsv(88, 82%, 59%)
CMYKcmyk(38.4%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.62, -38.23, 53.87)
CIE-LCHlch(56.62, 66.06, 125.36°)
OKLaboklab(61.33% -0.1082 0.1185)
OKLCHoklch(61.33% 0.16 132.4)
XYZxyz(15.7784, 24.5388, 4.9418)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D971B #551B97
analogous
#97931B #5D971B #1F971B
triadic
#5D971B #1B5D97 #971B5D
tetradic
#5D971B #1B9793 #551B97 #971B1F
square
#5D971B #1B9793 #551B97 #971B1F
split-complementary
#5D971B #1B1F97 #931B97
monochromatic
#1D2F08 #3D6312 #5D971B #7DCB24 #9BDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D971B#FFFFFF#000000##000000
##5D971B1.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)
#968629
Tritanopia (blue-blind)
#5E9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d971b;
/* rgb */ color: rgb(93, 151, 27);
/* oklch */ color: oklch(61.3% 0.160 132.4);
Tailwind
colors: {
  custom: {
    50: '#90b663',
    500: '#5d971b',
    950: '#000000',
  },
}
SCSS
$custom: #5d971b;
$custom-light: #90b663;
$custom-dark: #000000;
JSON
{
  "hex": "#5d971b",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 88.065,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.16048,
    "h": 132.4
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#5D971B
secondary
#834CC1
accent
#3BEC8E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D971B

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

Preview Lab → · Contrast checker → · Palette generator →

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