#4C971E#4C971E

#4C971E 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#4C971E
RGBrgb(76, 151, 30)
HSLhsl(97, 67%, 35%)
HSVhsv(97, 80%, 59%)
CMYKcmyk(49.7%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.85, -43.88, 51.96)
CIE-LCHlch(55.85, 68.01, 130.18°)
OKLaboklab(60.48% -0.1221 0.1153)
OKLCHoklch(60.48% 0.168 136.6)
XYZxyz(14.2810, 23.7625, 5.0621)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971E #691E97
analogous
#88971E #4C971E #1E972C
triadic
#4C971E #1E4C97 #971E4C
tetradic
#4C971E #1E8897 #691E97 #972C1E
square
#4C971E #1E8897 #691E97 #972C1E
split-complementary
#4C971E #2C1E97 #971E88
monochromatic
#19310A #326414 #4C971E #66CA28 #87DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C971E#FFFFFF#000000##000000
##4C971E1.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: #4c971e;
/* rgb */ color: rgb(76, 151, 30);
/* oklch */ color: oklch(60.5% 0.168 136.6);
Tailwind
colors: {
  custom: {
    50: '#86b665',
    500: '#4c971e',
    950: '#000000',
  },
}
SCSS
$custom: #4c971e;
$custom-light: #86b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971e",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 97.19,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.16792,
    "h": 136.6
  },
  "luminance": 0.23763
}

Semantic roles & 50–950 ramp

primary
#4C971E
secondary
#9651C0
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971E

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

Preview Lab → · Contrast checker → · Palette generator →

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