#4C8719#4C8719

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

Color values

HEX#4C8719
RGBrgb(76, 135, 25)
HSLhsl(92, 69%, 31%)
HSVhsv(92, 81%, 53%)
CMYKcmyk(43.7%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.61, -37.54, 48.63)
CIE-LCHlch(50.61, 61.43, 127.67°)
OKLaboklab(56.17% -0.1054 0.1075)
OKLCHoklch(56.17% 0.151 134.4)
XYZxyz(11.8197, 18.9340, 3.9513)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8719 #541987
analogous
#838719 #4C8719 #19871D
triadic
#4C8719 #194C87 #87194C
tetradic
#4C8719 #198387 #541987 #871D19
square
#4C8719 #198387 #541987 #871D19
split-complementary
#4C8719 #1D1987 #871983
monochromatic
#122006 #2F530F #4C8719 #69BB23 #88DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8719#FFFFFF#000000##000000
##4C87191.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8719;
/* rgb */ color: rgb(76, 135, 25);
/* oklch */ color: oklch(56.2% 0.151 134.4);
Tailwind
colors: {
  custom: {
    50: '#84aa60',
    500: '#4c8719',
    950: '#000000',
  },
}
SCSS
$custom: #4c8719;
$custom-light: #84aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8719",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 92.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.15054,
    "h": 134.4
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#4C8719
secondary
#8241BA
accent
#3CEC9A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8719

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

Preview Lab → · Contrast checker → · Palette generator →

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