#5C971D#5C971D

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

Color values

HEX#5C971D
RGBrgb(92, 151, 29)
HSLhsl(89, 68%, 35%)
HSVhsv(89, 81%, 59%)
CMYKcmyk(39.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.58, -38.50, 53.22)
CIE-LCHlch(56.58, 65.69, 125.88°)
OKLaboklab(61.28% -0.1087 0.1175)
OKLCHoklch(61.28% 0.16 132.8)
XYZxyz(15.7018, 24.4965, 5.0631)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C971D #581D97
analogous
#97951D #5C971D #1F971D
triadic
#5C971D #1D5C97 #971D5C
tetradic
#5C971D #1D9795 #581D97 #971D1F
square
#5C971D #1D9795 #581D97 #971D1F
split-complementary
#5C971D #1D1F97 #951D97
monochromatic
#1D3009 #3D6413 #5C971D #7BCA27 #9ADE51

Accessibility & contrast

On white

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

On black

5.90
#5C971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C971D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C971D#FFFFFF#000000##000000
##5C971D1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#5D9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c971d;
/* rgb */ color: rgb(92, 151, 29);
/* oklch */ color: oklch(61.3% 0.160 132.8);
Tailwind
colors: {
  custom: {
    50: '#90b664',
    500: '#5c971d',
    950: '#000000',
  },
}
SCSS
$custom: #5c971d;
$custom-light: #90b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c971d",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 89.016,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61282,
    "c": 0.16007,
    "h": 132.8
  },
  "luminance": 0.24497
}

Semantic roles & 50–950 ramp

primary
#5C971D
secondary
#864FC0
accent
#3DEB91
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C971D

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

Preview Lab → · Contrast checker → · Palette generator →

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