#4C971A#4C971A

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

Color values

HEX#4C971A
RGBrgb(76, 151, 26)
HSLhsl(96, 71%, 35%)
HSVhsv(96, 83%, 59%)
CMYKcmyk(49.7%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.83, -44.09, 53.14)
CIE-LCHlch(55.83, 69.06, 129.68°)
OKLaboklab(60.46% -0.1229 0.1172)
OKLCHoklch(60.46% 0.17 136.4)
XYZxyz(14.2332, 23.7433, 4.8100)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971A #651A97
analogous
#8B971A #4C971A #1A9727
triadic
#4C971A #1A4C97 #971A4C
tetradic
#4C971A #1A8B97 #651A97 #97271A
square
#4C971A #1A8B97 #651A97 #97271A
split-complementary
#4C971A #271A97 #971A8B
monochromatic
#172F08 #326311 #4C971A #66CB23 #87E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C971A#FFFFFF#000000##000000
##4C971A1.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)
#938429
Tritanopia (blue-blind)
#489180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c971a;
/* rgb */ color: rgb(76, 151, 26);
/* oklch */ color: oklch(60.5% 0.170 136.4);
Tailwind
colors: {
  custom: {
    50: '#86b663',
    500: '#4c971a',
    950: '#000000',
  },
}
SCSS
$custom: #4c971a;
$custom-light: #86b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971a",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.1698,
    "h": 136.4
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#4C971A
secondary
#924BC2
accent
#3AEDA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971A

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

Preview Lab → · Contrast checker → · Palette generator →

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