#5C971C#5C971C

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

Color values

HEX#5C971C
RGBrgb(92, 151, 28)
HSLhsl(89, 69%, 35%)
HSVhsv(89, 81%, 59%)
CMYKcmyk(39.1%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.58, -38.55, 53.52)
CIE-LCHlch(56.58, 65.96, 125.77°)
OKLaboklab(61.28% -0.1089 0.1179)
OKLCHoklch(61.28% 0.161 132.7)
XYZxyz(15.6896, 24.4916, 4.9991)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C971C #571C97
analogous
#97941C #5C971C #1F971C
triadic
#5C971C #1C5C97 #971C5C
tetradic
#5C971C #1C9794 #571C97 #971C1F
square
#5C971C #1C9794 #571C97 #971C1F
split-complementary
#5C971C #1C1F97 #941C97
monochromatic
#1D3009 #3D6312 #5C971C #7BCB26 #9ADE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c971c;
/* rgb */ color: rgb(92, 151, 28);
/* oklch */ color: oklch(61.3% 0.161 132.7);
Tailwind
colors: {
  custom: {
    50: '#90b664',
    500: '#5c971c',
    950: '#000000',
  },
}
SCSS
$custom: #5c971c;
$custom-light: #90b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c971c",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 88.78,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.16055,
    "h": 132.7
  },
  "luminance": 0.24492
}

Semantic roles & 50–950 ramp

primary
#5C971C
secondary
#854EC1
accent
#3CEC90
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C971C

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

Preview Lab → · Contrast checker → · Palette generator →

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