#4C8B18#4C8B18

#4C8B18 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.156 H 134.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4C8B18
RGBrgb(76, 139, 24)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 55%)
CMYKcmyk(45.3%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.91, -39.29, 50.14)
CIE-LCHlch(51.91, 63.70, 128.08°)
OKLaboklab(57.24% -0.1101 0.1106)
OKLCHoklch(57.24% 0.156 134.9)
XYZxyz(12.3777, 20.0670, 4.0851)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B18 #57188B
analogous
#858B18 #4C8B18 #188B1E
triadic
#4C8B18 #184C8B #8B184C
tetradic
#4C8B18 #18858B #57188B #8B1E18
square
#4C8B18 #18858B #57188B #8B1E18
split-complementary
#4C8B18 #1E188B #8B1885
monochromatic
#132306 #2F570F #4C8B18 #69BF21 #87DE3F

Accessibility & contrast

On white

4.19
#4C8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4C8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B18#FFFFFF#000000##000000
##4C8B181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b18;
/* rgb */ color: rgb(76, 139, 24);
/* oklch */ color: oklch(57.2% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ad60',
    500: '#4c8b18',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b18;
$custom-light: #84ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b18",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 92.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.15604,
    "h": 134.9
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#4C8B18
secondary
#8540BE
accent
#3AED9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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