#4C8E17#4C8E17

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

Color values

HEX#4C8E17
RGBrgb(76, 142, 23)
HSLhsl(93, 72%, 32%)
HSVhsv(93, 84%, 56%)
CMYKcmyk(46.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.89, -40.59, 51.31)
CIE-LCHlch(52.89, 65.43, 128.34°)
OKLaboklab(58.04% -0.1137 0.1129)
OKLCHoklch(58.04% 0.16 135.2)
XYZxyz(12.8079, 20.9436, 4.1781)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E17 #59178E
analogous
#888E17 #4C8E17 #178E1D
triadic
#4C8E17 #174C8E #8E174C
tetradic
#4C8E17 #17888E #59178E #8E1D17
square
#4C8E17 #17888E #59178E #8E1D17
split-complementary
#4C8E17 #1D178E #8E1788
monochromatic
#142506 #30590E #4C8E17 #68C320 #87E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8E17#FFFFFF#000000##000000
##4C8E171.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)
#8B7C26
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e17;
/* rgb */ color: rgb(76, 142, 23);
/* oklch */ color: oklch(58.0% 0.160 135.2);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4c8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e17;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e17",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 93.277,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.16018,
    "h": 135.2
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#4C8E17
secondary
#8740C0
accent
#39EF9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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