#4C8716#4C8716

#4C8716 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.152 H 134.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C8716
RGBrgb(76, 135, 22)
HSLhsl(91, 72%, 31%)
HSVhsv(91, 84%, 53%)
CMYKcmyk(43.7%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.60, -37.69, 49.52)
CIE-LCHlch(50.60, 62.23, 127.28°)
OKLaboklab(56.15% -0.106 0.1089)
OKLCHoklch(56.15% 0.152 134.2)
XYZxyz(11.7891, 18.9217, 3.7900)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8716 #511687
analogous
#848716 #4C8716 #168718
triadic
#4C8716 #164C87 #87164C
tetradic
#4C8716 #168487 #511687 #871816
square
#4C8716 #168487 #511687 #871816
split-complementary
#4C8716 #181687 #871684
monochromatic
#111E05 #2E520D #4C8716 #6ABC1F #88DF39

Accessibility & contrast

On white

4.39
#4C8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4C8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8716
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8716#FFFFFF#000000##000000
##4C87161.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7B00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8716;
/* rgb */ color: rgb(76, 135, 22);
/* oklch */ color: oklch(56.2% 0.152 134.2);
Tailwind
colors: {
  custom: {
    50: '#84aa5f',
    500: '#4c8716',
    950: '#000000',
  },
}
SCSS
$custom: #4c8716;
$custom-light: #84aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8716",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 91.327,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.15196,
    "h": 134.2
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#4C8716
secondary
#7F3EBB
accent
#39EF98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8716

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

Preview Lab → · Contrast checker → · Palette generator →

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