#4C8014#4C8014

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

Color values

HEX#4C8014
RGBrgb(76, 128, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 50%)
CMYKcmyk(40.6%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.29, -34.75, 48.01)
CIE-LCHlch(48.29, 59.26, 125.90°)
OKLaboklab(54.26% -0.0982 0.1054)
OKLCHoklch(54.26% 0.144 133)
XYZxyz(10.8258, 17.0248, 3.3774)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8014 #481480
analogous
#807E14 #4C8014 #168014
triadic
#4C8014 #144C80 #80144C
tetradic
#4C8014 #14807E #481480 #801416
square
#4C8014 #14807E #481480 #801416
split-complementary
#4C8014 #141680 #7E1480
monochromatic
#101A04 #2D4B0C #4C8014 #6BB51C #8ADF30

Accessibility & contrast

On white

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

On black

4.40
#4C8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C8014#FFFFFF#000000##FFFFFF
##4C80141.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8014;
/* rgb */ color: rgb(76, 128, 20);
/* oklch */ color: oklch(54.3% 0.144 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a55d',
    500: '#4c8014',
    950: '#000000',
  },
}
SCSS
$custom: #4c8014;
$custom-light: #83a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8014",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 88.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.14406,
    "h": 133
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#4C8014
secondary
#763BB5
accent
#38F091
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8014

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

Preview Lab → · Contrast checker → · Palette generator →

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