#4C8E14#4C8E14

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

Color values

HEX#4C8E14
RGBrgb(76, 142, 20)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 86%, 56%)
CMYKcmyk(46.5%, 0%, 85.9%, 44.3%)
CIE-LABlab(52.88, -40.73, 52.11)
CIE-LCHlch(52.88, 66.13, 128.01°)
OKLaboklab(58.02% -0.1142 0.1141)
OKLCHoklch(58.02% 0.161 135)
XYZxyz(12.7795, 20.9322, 4.0286)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E14 #56148E
analogous
#898E14 #4C8E14 #148E19
triadic
#4C8E14 #144C8E #8E144C
tetradic
#4C8E14 #14898E #56148E #8E1914
square
#4C8E14 #14898E #56148E #8E1914
split-complementary
#4C8E14 #19148E #8E1489
monochromatic
#132305 #2F580C #4C8E14 #69C41C #87E339

Accessibility & contrast

On white

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

On black

5.19
#4C8E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E14
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E14#FFFFFF#000000##000000
##4C8E141.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8e14;
/* rgb */ color: rgb(76, 142, 20);
/* oklch */ color: oklch(58.0% 0.161 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4c8e14',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e14;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e14",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 92.459,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.16142,
    "h": 135
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#4C8E14
secondary
#843CC2
accent
#36F29C
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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