#4C8F19#4C8F19

#4C8F19 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.161 H 135.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C8F19
RGBrgb(76, 143, 25)
HSLhsl(94, 70%, 33%)
HSVhsv(94, 83%, 56%)
CMYKcmyk(46.9%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.22, -40.90, 51.04)
CIE-LCHlch(53.22, 65.41, 128.71°)
OKLaboklab(58.32% -0.1144 0.1126)
OKLCHoklch(58.32% 0.161 135.4)
XYZxyz(12.9781, 21.2508, 4.3375)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F19 #5C198F
analogous
#878F19 #4C8F19 #198F21
triadic
#4C8F19 #194C8F #8F194C
tetradic
#4C8F19 #19878F #5C198F #8F2119
square
#4C8F19 #19878F #5C198F #8F2119
split-complementary
#4C8F19 #21198F #8F1987
monochromatic
#152707 #305B10 #4C8F19 #68C322 #87DE44

Accessibility & contrast

On white

4.00
#4C8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F19
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F19#FFFFFF#000000##000000
##4C8F191.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f19;
/* rgb */ color: rgb(76, 143, 25);
/* oklch */ color: oklch(58.3% 0.161 135.4);
Tailwind
colors: {
  custom: {
    50: '#85b061',
    500: '#4c8f19',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f19;
$custom-light: #85b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f19",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 94.068,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.16052,
    "h": 135.4
  },
  "luminance": 0.21252
}

Semantic roles & 50–950 ramp

primary
#4C8F19
secondary
#8A44BF
accent
#3BEDA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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