#4C8013#4C8013

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

Color values

HEX#4C8013
RGBrgb(76, 128, 19)
HSLhsl(89, 74%, 29%)
HSVhsv(89, 85%, 50%)
CMYKcmyk(40.6%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.29, -34.79, 48.29)
CIE-LCHlch(48.29, 59.52, 125.78°)
OKLaboklab(54.26% -0.0984 0.1059)
OKLCHoklch(54.26% 0.145 132.9)
XYZxyz(10.8171, 17.0213, 3.3315)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8013 #471380
analogous
#807E13 #4C8013 #158013
triadic
#4C8013 #134C80 #80134C
tetradic
#4C8013 #13807E #471380 #801315
square
#4C8013 #13807E #471380 #801315
split-complementary
#4C8013 #131580 #7E1380
monochromatic
#101B04 #2C4B0B #4C8013 #6CB51B #8BE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8013#FFFFFF#000000##FFFFFF
##4C80131.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)
#7F7120
Tritanopia (blue-blind)
#4C7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c8013;
/* rgb */ color: rgb(76, 128, 19);
/* oklch */ color: oklch(54.3% 0.144 132.9);
Tailwind
colors: {
  custom: {
    50: '#83a55d',
    500: '#4c8013',
    950: '#000000',
  },
}
SCSS
$custom: #4c8013;
$custom-light: #83a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8013",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 88.624,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.1445,
    "h": 132.9
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#4C8013
secondary
#7539B5
accent
#37F190
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8013

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

Preview Lab → · Contrast checker → · Palette generator →

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