#4C8C18#4C8C18

#4C8C18 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.157 H 135.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C8C18
RGBrgb(76, 140, 24)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 55%)
CMYKcmyk(45.7%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.24, -39.71, 50.44)
CIE-LCHlch(52.24, 64.19, 128.21°)
OKLaboklab(57.51% -0.1112 0.1112)
OKLCHoklch(57.51% 0.157 135)
XYZxyz(12.5232, 20.3579, 4.1336)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C18 #58188C
analogous
#868C18 #4C8C18 #188C1E
triadic
#4C8C18 #184C8C #8C184C
tetradic
#4C8C18 #18868C #58188C #8C1E18
square
#4C8C18 #18868C #58188C #8C1E18
split-complementary
#4C8C18 #1E188C #8C1886
monochromatic
#132406 #30580F #4C8C18 #68C021 #87DE40

Accessibility & contrast

On white

4.14
#4C8C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C8C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C18#FFFFFF#000000##000000
##4C8C181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c18;
/* rgb */ color: rgb(76, 140, 24);
/* oklch */ color: oklch(57.5% 0.157 135.0);
Tailwind
colors: {
  custom: {
    50: '#85ae60',
    500: '#4c8c18',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c18;
$custom-light: #85ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c18",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 93.103,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.15727,
    "h": 135
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#4C8C18
secondary
#8641BF
accent
#3AED9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8C18

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

Preview Lab → · Contrast checker → · Palette generator →

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