#4C871E#4C871E

#4C871E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.148 H 134.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C871E
RGBrgb(76, 135, 30)
HSLhsl(94, 64%, 32%)
HSVhsv(94, 78%, 53%)
CMYKcmyk(43.7%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.64, -37.25, 46.99)
CIE-LCHlch(50.64, 59.96, 128.40°)
OKLaboklab(56.2% -0.1042 0.1049)
OKLCHoklch(56.2% 0.148 134.8)
XYZxyz(11.8786, 18.9575, 4.2613)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C871E #591E87
analogous
#81871E #4C871E #1E8724
triadic
#4C871E #1E4C87 #871E4C
tetradic
#4C871E #1E8187 #591E87 #87241E
square
#4C871E #1E8187 #591E87 #87241E
split-complementary
#4C871E #241E87 #871E81
monochromatic
#142308 #305513 #4C871E #68B929 #87D749

Accessibility & contrast

On white

4.38
#4C871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4C871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C871E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C871E#FFFFFF#000000##000000
##4C871E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C06
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#4B8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c871e;
/* rgb */ color: rgb(76, 135, 30);
/* oklch */ color: oklch(56.2% 0.148 134.8);
Tailwind
colors: {
  custom: {
    50: '#84aa62',
    500: '#4c871e',
    950: '#000000',
  },
}
SCSS
$custom: #4c871e;
$custom-light: #84aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c871e",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 93.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.14787,
    "h": 134.8
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#4C871E
secondary
#8748B9
accent
#41E79E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C871E

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

Preview Lab → · Contrast checker → · Palette generator →

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