#5C971A#5C971A

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

Color values

HEX#5C971A
RGBrgb(92, 151, 26)
HSLhsl(88, 71%, 35%)
HSVhsv(88, 83%, 59%)
CMYKcmyk(39.1%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.57, -38.65, 54.09)
CIE-LCHlch(56.57, 66.48, 125.55°)
OKLaboklab(61.27% -0.1093 0.1188)
OKLCHoklch(61.27% 0.161 132.6)
XYZxyz(15.6665, 24.4824, 4.8772)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C971A #551A97
analogous
#97941A #5C971A #1E971A
triadic
#5C971A #1A5C97 #971A5C
tetradic
#5C971A #1A9794 #551A97 #971A1E
square
#5C971A #1A9794 #551A97 #971A1E
split-complementary
#5C971A #1A1E97 #941A97
monochromatic
#1C2F08 #3C6311 #5C971A #7CCB23 #9AE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C971A#FFFFFF#000000##000000
##5C971A1.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)
#9E8B00
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#5D9180
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c971a;
/* rgb */ color: rgb(92, 151, 26);
/* oklch */ color: oklch(61.3% 0.161 132.6);
Tailwind
colors: {
  custom: {
    50: '#90b663',
    500: '#5c971a',
    950: '#000000',
  },
}
SCSS
$custom: #5c971a;
$custom-light: #90b663;
$custom-dark: #000000;
JSON
{
  "hex": "#5c971a",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 88.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.16147,
    "h": 132.6
  },
  "luminance": 0.24483
}

Semantic roles & 50–950 ramp

primary
#5C971A
secondary
#834BC2
accent
#3AED8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C971A

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

Preview Lab → · Contrast checker → · Palette generator →

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