#4C8D17#4C8D17

#4C8D17 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.159 H 135.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D17
RGBrgb(76, 141, 23)
HSLhsl(93, 72%, 32%)
HSVhsv(93, 84%, 55%)
CMYKcmyk(46.1%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.56, -40.18, 51.02)
CIE-LCHlch(52.56, 64.94, 128.22°)
OKLaboklab(57.77% -0.1125 0.1123)
OKLCHoklch(57.77% 0.159 135.1)
XYZxyz(12.6597, 20.6473, 4.1287)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D17 #58178D
analogous
#878D17 #4C8D17 #178D1D
triadic
#4C8D17 #174C8D #8D174C
tetradic
#4C8D17 #17878D #58178D #8D1D17
square
#4C8D17 #17878D #58178D #8D1D17
split-complementary
#4C8D17 #1D178D #8D1787
monochromatic
#132406 #30580E #4C8D17 #68C220 #87E03F

Accessibility & contrast

On white

4.09
#4C8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D17#FFFFFF#000000##000000
##4C8D171.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d17;
/* rgb */ color: rgb(76, 141, 23);
/* oklch */ color: oklch(57.8% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4c8d17',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d17;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d17",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 93.051,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.15896,
    "h": 135.1
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#4C8D17
secondary
#8640C0
accent
#39EF9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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