#4C8617#4C8617

#4C8617 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.150 H 134.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4C8617
RGBrgb(76, 134, 23)
HSLhsl(91, 71%, 31%)
HSVhsv(91, 83%, 53%)
CMYKcmyk(43.3%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.27, -37.22, 48.93)
CIE-LCHlch(50.27, 61.48, 127.26°)
OKLaboklab(55.89% -0.1046 0.1079)
OKLCHoklch(55.89% 0.15 134.1)
XYZxyz(11.6600, 18.6479, 3.7955)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8617 #511786
analogous
#838617 #4C8617 #178619
triadic
#4C8617 #174C86 #86174C
tetradic
#4C8617 #178386 #511786 #861917
square
#4C8617 #178386 #511786 #861917
split-complementary
#4C8617 #191786 #861783
monochromatic
#111E05 #2E520E #4C8617 #6ABA20 #88DD3A

Accessibility & contrast

On white

4.44
#4C8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4C8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8617
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8617#FFFFFF#000000##000000
##4C86171.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#4B8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8617;
/* rgb */ color: rgb(76, 134, 23);
/* oklch */ color: oklch(55.9% 0.150 134.1);
Tailwind
colors: {
  custom: {
    50: '#84aa5f',
    500: '#4c8617',
    950: '#000000',
  },
}
SCSS
$custom: #4c8617;
$custom-light: #84aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8617",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 91.351,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.15025,
    "h": 134.1
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#4C8617
secondary
#7F3FBA
accent
#3AED98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8617

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

Preview Lab → · Contrast checker → · Palette generator →

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