#4C8E11#4C8E11

#4C8E11 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.163 H 134.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4C8E11
RGBrgb(76, 142, 17)
HSLhsl(92, 79%, 31%)
HSVhsv(92, 88%, 56%)
CMYKcmyk(46.5%, 0%, 88%, 44.3%)
CIE-LABlab(52.86, -40.85, 52.82)
CIE-LCHlch(52.86, 66.77, 127.71°)
OKLaboklab(58.01% -0.1147 0.1152)
OKLCHoklch(58.01% 0.163 134.9)
XYZxyz(12.7544, 20.9222, 3.8965)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E11 #53118E
analogous
#8A8E11 #4C8E11 #118E14
triadic
#4C8E11 #114C8E #8E114C
tetradic
#4C8E11 #118A8E #53118E #8E1411
square
#4C8E11 #118A8E #53118E #8E1411
split-complementary
#4C8E11 #14118E #8E118A
monochromatic
#112104 #2F570A #4C8E11 #69C518 #88E733

Accessibility & contrast

On white

4.05
#4C8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4C8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E11
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E11#FFFFFF#000000##000000
##4C8E111.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#4A8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e11;
/* rgb */ color: rgb(76, 142, 17);
/* oklch */ color: oklch(58.0% 0.163 134.9);
Tailwind
colors: {
  custom: {
    50: '#85af5e',
    500: '#4c8e11',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e11;
$custom-light: #85af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e11",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 91.68,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.16252,
    "h": 134.9
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#4C8E11
secondary
#8138C2
accent
#33F599
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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