#4C8718#4C8718

#4C8718 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.151 H 134.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C8718
RGBrgb(76, 135, 24)
HSLhsl(92, 70%, 31%)
HSVhsv(92, 82%, 53%)
CMYKcmyk(43.7%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.60, -37.59, 48.93)
CIE-LCHlch(50.60, 61.71, 127.53°)
OKLaboklab(56.16% -0.1056 0.108)
OKLCHoklch(56.16% 0.151 134.3)
XYZxyz(11.8091, 18.9297, 3.8955)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8718 #531887
analogous
#838718 #4C8718 #18871C
triadic
#4C8718 #184C87 #87184C
tetradic
#4C8718 #188387 #531887 #871C18
square
#4C8718 #188387 #531887 #871C18
split-complementary
#4C8718 #1C1887 #871883
monochromatic
#111F06 #2F530F #4C8718 #69BB21 #88DC3D

Accessibility & contrast

On white

4.39
#4C8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4C8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8718
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8718#FFFFFF#000000##000000
##4C87181.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8718;
/* rgb */ color: rgb(76, 135, 24);
/* oklch */ color: oklch(56.2% 0.151 134.3);
Tailwind
colors: {
  custom: {
    50: '#84aa60',
    500: '#4c8718',
    950: '#000000',
  },
}
SCSS
$custom: #4c8718;
$custom-light: #84aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8718",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 91.892,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.15103,
    "h": 134.3
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#4C8718
secondary
#8140BB
accent
#3BED99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8718

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

Preview Lab → · Contrast checker → · Palette generator →

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