#4C971D#4C971D

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

Color values

HEX#4C971D
RGBrgb(76, 151, 29)
HSLhsl(97, 68%, 35%)
HSVhsv(97, 81%, 59%)
CMYKcmyk(49.7%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.84, -43.94, 52.27)
CIE-LCHlch(55.84, 68.28, 130.05°)
OKLaboklab(60.48% -0.1223 0.1158)
OKLCHoklch(60.48% 0.168 136.6)
XYZxyz(14.2685, 23.7574, 4.9959)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971D #681D97
analogous
#89971D #4C971D #1D972B
triadic
#4C971D #1D4C97 #971D4C
tetradic
#4C971D #1D8997 #681D97 #972B1D
square
#4C971D #1D8997 #681D97 #972B1D
split-complementary
#4C971D #2B1D97 #971D89
monochromatic
#183009 #326413 #4C971D #66CA27 #87DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C971D#FFFFFF#000000##000000
##4C971D1.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)
#93842B
Tritanopia (blue-blind)
#489181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c971d;
/* rgb */ color: rgb(76, 151, 29);
/* oklch */ color: oklch(60.5% 0.168 136.6);
Tailwind
colors: {
  custom: {
    50: '#86b664',
    500: '#4c971d',
    950: '#000000',
  },
}
SCSS
$custom: #4c971d;
$custom-light: #86b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971d",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 96.885,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.16841,
    "h": 136.6
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

primary
#4C971D
secondary
#954FC0
accent
#3DEBA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971D

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

Preview Lab → · Contrast checker → · Palette generator →

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