#5D971C#5D971C

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

Color values

HEX#5D971C
RGBrgb(93, 151, 28)
HSLhsl(88, 69%, 35%)
HSVhsv(88, 81%, 59%)
CMYKcmyk(38.4%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.63, -38.19, 53.58)
CIE-LCHlch(56.63, 65.80, 125.48°)
OKLaboklab(61.33% -0.108 0.1181)
OKLCHoklch(61.33% 0.16 132.5)
XYZxyz(15.7902, 24.5435, 5.0038)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D971C #561C97
analogous
#97941C #5D971C #1F971C
triadic
#5D971C #1C5D97 #971C5D
tetradic
#5D971C #1C9794 #561C97 #971C1F
square
#5D971C #1C9794 #561C97 #971C1F
split-complementary
#5D971C #1C1F97 #941C97
monochromatic
#1D3009 #3D6312 #5D971C #7DCB26 #9BDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D971C#FFFFFF#000000##000000
##5D971C1.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)
#96862A
Tritanopia (blue-blind)
#5E9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d971c;
/* rgb */ color: rgb(93, 151, 28);
/* oklch */ color: oklch(61.3% 0.160 132.5);
Tailwind
colors: {
  custom: {
    50: '#90b664',
    500: '#5d971c',
    950: '#000000',
  },
}
SCSS
$custom: #5d971c;
$custom-light: #90b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5d971c",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 88.293,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.16002,
    "h": 132.5
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

primary
#5D971C
secondary
#844EC1
accent
#3CEC8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D971C

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

Preview Lab → · Contrast checker → · Palette generator →

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