#4C8819#4C8819

#4C8819 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.4% C 0.152 H 134.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4C8819
RGBrgb(76, 136, 25)
HSLhsl(92, 69%, 32%)
HSVhsv(92, 82%, 53%)
CMYKcmyk(44.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(50.94, -37.97, 48.93)
CIE-LCHlch(50.94, 61.94, 127.81°)
OKLaboklab(56.44% -0.1065 0.1082)
OKLCHoklch(56.44% 0.152 134.6)
XYZxyz(11.9599, 19.2143, 3.9981)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8819 #551988
analogous
#848819 #4C8819 #19881D
triadic
#4C8819 #194C88 #88194C
tetradic
#4C8819 #198488 #551988 #881D19
square
#4C8819 #198488 #551988 #881D19
split-complementary
#4C8819 #1D1988 #881984
monochromatic
#122106 #2F540F #4C8819 #69BC23 #87DC40

Accessibility & contrast

On white

4.34
#4C8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4C8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8819
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8819#FFFFFF#000000##000000
##4C88191.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#4B8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c8819;
/* rgb */ color: rgb(76, 136, 25);
/* oklch */ color: oklch(56.4% 0.152 134.6);
Tailwind
colors: {
  custom: {
    50: '#84ab60',
    500: '#4c8819',
    950: '#000000',
  },
}
SCSS
$custom: #4c8819;
$custom-light: #84ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8819",
  "rgb": {
    "r": 76,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 92.432,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.15181,
    "h": 134.6
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#4C8819
secondary
#8341BB
accent
#3CEC9B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8819

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

Preview Lab → · Contrast checker → · Palette generator →

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