#4C8720#4C8720

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

Color values

HEX#4C8720
RGBrgb(76, 135, 32)
HSLhsl(94, 62%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(43.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.65, -37.12, 46.28)
CIE-LCHlch(50.65, 59.33, 128.73°)
OKLaboklab(56.22% -0.1037 0.1037)
OKLCHoklch(56.22% 0.147 135)
XYZxyz(11.9049, 18.9681, 4.4001)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8720 #5B2087
analogous
#7F8720 #4C8720 #208727
triadic
#4C8720 #204C87 #87204C
tetradic
#4C8720 #207F87 #5B2087 #872720
square
#4C8720 #207F87 #5B2087 #872720
split-complementary
#4C8720 #272087 #87207F
monochromatic
#142409 #305614 #4C8720 #68B82C #87D54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8720#FFFFFF#000000##000000
##4C87201.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)
#8C7C0B
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#4B8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c8720;
/* rgb */ color: rgb(76, 135, 32);
/* oklch */ color: oklch(56.2% 0.147 135.0);
Tailwind
colors: {
  custom: {
    50: '#84aa63',
    500: '#4c8720',
    950: '#000000',
  },
}
SCSS
$custom: #4c8720;
$custom-light: #84aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8720",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 94.369,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56216,
    "c": 0.14668,
    "h": 135
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#4C8720
secondary
#894BB8
accent
#43E5A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8720

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

Preview Lab → · Contrast checker → · Palette generator →

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