#4C971C#4C971C

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

Color values

HEX#4C971C
RGBrgb(76, 151, 28)
HSLhsl(97, 69%, 35%)
HSVhsv(97, 81%, 59%)
CMYKcmyk(49.7%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.84, -43.99, 52.57)
CIE-LCHlch(55.84, 68.55, 129.92°)
OKLaboklab(60.47% -0.1225 0.1163)
OKLCHoklch(60.47% 0.169 136.5)
XYZxyz(14.2563, 23.7526, 4.9319)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971C #671C97
analogous
#8A971C #4C971C #1C9729
triadic
#4C971C #1C4C97 #971C4C
tetradic
#4C971C #1C8A97 #671C97 #97291C
square
#4C971C #1C8A97 #671C97 #97291C
split-complementary
#4C971C #291C97 #971C8A
monochromatic
#183009 #326312 #4C971C #66CB26 #87DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C971C#FFFFFF#000000##000000
##4C971C1.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: #4c971c;
/* rgb */ color: rgb(76, 151, 28);
/* oklch */ color: oklch(60.5% 0.169 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b664',
    500: '#4c971c',
    950: '#000000',
  },
}
SCSS
$custom: #4c971c;
$custom-light: #86b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971c",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 96.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.16889,
    "h": 136.5
  },
  "luminance": 0.23754
}

Semantic roles & 50–950 ramp

primary
#4C971C
secondary
#944EC1
accent
#3CECA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971C

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

Preview Lab → · Contrast checker → · Palette generator →

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