#4C971B#4C971B

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

Color values

HEX#4C971B
RGBrgb(76, 151, 27)
HSLhsl(96, 70%, 35%)
HSVhsv(96, 82%, 59%)
CMYKcmyk(49.7%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.83, -44.04, 52.86)
CIE-LCHlch(55.83, 68.80, 129.80°)
OKLaboklab(60.47% -0.1227 0.1167)
OKLCHoklch(60.47% 0.169 136.4)
XYZxyz(14.2445, 23.7479, 4.8699)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C971B #661B97
analogous
#8A971B #4C971B #1B9728
triadic
#4C971B #1B4C97 #971B4C
tetradic
#4C971B #1B8A97 #661B97 #97281B
square
#4C971B #1B8A97 #661B97 #97281B
split-complementary
#4C971B #281B97 #971B8A
monochromatic
#182F08 #326312 #4C971B #66CB24 #87DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C971B#FFFFFF#000000##000000
##4C971B1.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)
#93842A
Tritanopia (blue-blind)
#489180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4c971b;
/* rgb */ color: rgb(76, 151, 27);
/* oklch */ color: oklch(60.5% 0.169 136.4);
Tailwind
colors: {
  custom: {
    50: '#86b663',
    500: '#4c971b',
    950: '#000000',
  },
}
SCSS
$custom: #4c971b;
$custom-light: #86b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4c971b",
  "rgb": {
    "r": 76,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 96.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60465,
    "c": 0.16935,
    "h": 136.4
  },
  "luminance": 0.23749
}

Semantic roles & 50–950 ramp

primary
#4C971B
secondary
#934CC1
accent
#3BECA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C971B

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

Preview Lab → · Contrast checker → · Palette generator →

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