#4C8E13#4C8E13

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

Color values

HEX#4C8E13
RGBrgb(76, 142, 19)
HSLhsl(92, 76%, 32%)
HSVhsv(92, 87%, 56%)
CMYKcmyk(46.5%, 0%, 86.6%, 44.3%)
CIE-LABlab(52.87, -40.77, 52.35)
CIE-LCHlch(52.87, 66.35, 127.91°)
OKLaboklab(58.02% -0.1143 0.1145)
OKLCHoklch(58.02% 0.162 135)
XYZxyz(12.7708, 20.9287, 3.9827)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E13 #55138E
analogous
#8A8E13 #4C8E13 #138E17
triadic
#4C8E13 #134C8E #8E134C
tetradic
#4C8E13 #138A8E #55138E #8E1713
square
#4C8E13 #138A8E #55138E #8E1713
split-complementary
#4C8E13 #17138E #8E138A
monochromatic
#122205 #2F580C #4C8E13 #69C41A #87E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8E13#FFFFFF#000000##000000
##4C8E131.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)
#8B7C23
Tritanopia (blue-blind)
#4A8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e13;
/* rgb */ color: rgb(76, 142, 19);
/* oklch */ color: oklch(58.0% 0.162 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4c8e13',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e13;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e13",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 92.195,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.1618,
    "h": 135
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#4C8E13
secondary
#833BC2
accent
#35F39B
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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