#4C8016#4C8016

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

Color values

HEX#4C8016
RGBrgb(76, 128, 22)
HSLhsl(89, 71%, 29%)
HSVhsv(89, 83%, 50%)
CMYKcmyk(40.6%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.30, -34.65, 47.42)
CIE-LCHlch(48.30, 58.73, 126.15°)
OKLaboklab(54.27% -0.0978 0.1045)
OKLCHoklch(54.27% 0.143 133.1)
XYZxyz(10.8443, 17.0322, 3.4751)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8016 #4A1680
analogous
#807F16 #4C8016 #178016
triadic
#4C8016 #164C80 #80164C
tetradic
#4C8016 #16807F #4A1680 #801617
square
#4C8016 #16807F #4A1680 #801617
split-complementary
#4C8016 #161780 #7F1680
monochromatic
#101A04 #2D4C0D #4C8016 #6BB41F #8ADC34

Accessibility & contrast

On white

4.77
#4C8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C8016
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8016#FFFFFF#000000##FFFFFF
##4C80161.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8016;
/* rgb */ color: rgb(76, 128, 22);
/* oklch */ color: oklch(54.3% 0.143 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a55e',
    500: '#4c8016',
    950: '#000000',
  },
}
SCSS
$custom: #4c8016;
$custom-light: #83a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8016",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 89.434,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.14313,
    "h": 133.1
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#4C8016
secondary
#783DB5
accent
#3AED92
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8016

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

Preview Lab → · Contrast checker → · Palette generator →

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