#4C8D18#4C8D18

#4C8D18 is a mid, vivid yellow-green. Relative luminance 0.207; 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#4C8D18
RGBrgb(76, 141, 24)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 55%)
CMYKcmyk(46.1%, 0%, 83%, 44.7%)
CIE-LABlab(52.57, -40.13, 50.73)
CIE-LCHlch(52.57, 64.68, 128.34°)
OKLaboklab(57.77% -0.1124 0.1118)
OKLCHoklch(57.77% 0.159 135.1)
XYZxyz(12.6700, 20.6514, 4.1825)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D18 #59188D
analogous
#878D18 #4C8D18 #188D1E
triadic
#4C8D18 #184C8D #8D184C
tetradic
#4C8D18 #18878D #59188D #8D1E18
square
#4C8D18 #18878D #59188D #8D1E18
split-complementary
#4C8D18 #1E188D #8D1887
monochromatic
#142406 #30590F #4C8D18 #68C121 #87DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D18#FFFFFF#000000##000000
##4C8D181.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)
#928100
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d18;
/* rgb */ color: rgb(76, 141, 24);
/* oklch */ color: oklch(57.8% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4c8d18',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d18;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d18",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 93.333,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.15851,
    "h": 135.1
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#4C8D18
secondary
#8742BF
accent
#3AEE9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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