#4C8019#4C8019

#4C8019 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.142 H 133.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4C8019
RGBrgb(76, 128, 25)
HSLhsl(90, 67%, 30%)
HSVhsv(90, 80%, 50%)
CMYKcmyk(40.6%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.32, -34.49, 46.48)
CIE-LCHlch(48.32, 57.88, 126.57°)
OKLaboklab(54.29% -0.0971 0.103)
OKLCHoklch(54.29% 0.142 133.3)
XYZxyz(10.8750, 17.0445, 3.6364)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8019 #4D1980
analogous
#808019 #4C8019 #198019
triadic
#4C8019 #194C80 #80194C
tetradic
#4C8019 #198080 #4D1980 #801919
square
#4C8019 #198080 #4D1980 #801919
split-complementary
#4C8019 #191980 #801980
monochromatic
#0F1A05 #2E4D0F #4C8019 #6AB323 #89D93B

Accessibility & contrast

On white

4.76
#4C8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4C8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8019
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8019#FFFFFF#000000##FFFFFF
##4C80191.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#4C7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c8019;
/* rgb */ color: rgb(76, 128, 25);
/* oklch */ color: oklch(54.3% 0.142 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a55f',
    500: '#4c8019',
    950: '#000000',
  },
}
SCSS
$custom: #4c8019;
$custom-light: #83a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8019",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 90.291,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.1416,
    "h": 133.3
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#4C8019
secondary
#7B41B4
accent
#3EEA95
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8019

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

Preview Lab → · Contrast checker → · Palette generator →

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