#4C971F#4C971F

#4C971F is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.5% C 0.167 H 136.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4C971F
RGBrgb(76, 151, 31)
HSLhsl(98, 66%, 36%)
HSVhsv(98, 79%, 59%)
CMYKcmyk(49.7%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.85, -43.82, 51.65)
CIE-LCHlch(55.85, 67.74, 130.31°)
OKLaboklab(60.49% -0.1219 0.1148)
OKLCHoklch(60.49% 0.167 136.7)
XYZxyz(14.2940, 23.7677, 5.1305)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971F #6A1F97
analogous
#88971F #4C971F #1F972E
triadic
#4C971F #1F4C97 #971F4C
tetradic
#4C971F #1F8897 #6A1F97 #972E1F
square
#4C971F #1F8897 #6A1F97 #972E1F
split-complementary
#4C971F #2E1F97 #971F88
monochromatic
#19310A #326415 #4C971F #66CA29 #87DC54

Accessibility & contrast

On white

3.65
#4C971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4C971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C971F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C971F#FFFFFF#000000##000000
##4C971F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#489181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c971f;
/* rgb */ color: rgb(76, 151, 31);
/* oklch */ color: oklch(60.5% 0.167 136.7);
Tailwind
colors: {
  custom: {
    50: '#86b665',
    500: '#4c971f',
    950: '#000000',
  },
}
SCSS
$custom: #4c971f;
$custom-light: #86b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971f",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.16742,
    "h": 136.7
  },
  "luminance": 0.23769
}

Semantic roles & 50–950 ramp

primary
#4C971F
secondary
#9752BF
accent
#3FE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971F

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

Preview Lab → · Contrast checker → · Palette generator →

#4C971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva