#4C8817#4C8817

#4C8817 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.4% C 0.153 H 134.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4C8817
RGBrgb(76, 136, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 53%)
CMYKcmyk(44.1%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.93, -38.07, 49.53)
CIE-LCHlch(50.93, 62.47, 127.55°)
OKLaboklab(56.43% -0.1069 0.1091)
OKLCHoklch(56.43% 0.153 134.4)
XYZxyz(11.9391, 19.2060, 3.8885)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8817 #531788
analogous
#848817 #4C8817 #17881A
triadic
#4C8817 #174C88 #88174C
tetradic
#4C8817 #178488 #531788 #881A17
square
#4C8817 #178488 #531788 #881A17
split-complementary
#4C8817 #1A1788 #881784
monochromatic
#111F05 #2F540E #4C8817 #69BC20 #88DE3B

Accessibility & contrast

On white

4.34
#4C8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4C8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8817
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8817#FFFFFF#000000##000000
##4C88171.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#4B8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c8817;
/* rgb */ color: rgb(76, 136, 23);
/* oklch */ color: oklch(56.4% 0.153 134.4);
Tailwind
colors: {
  custom: {
    50: '#84ab5f',
    500: '#4c8817',
    950: '#000000',
  },
}
SCSS
$custom: #4c8817;
$custom-light: #84ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8817",
  "rgb": {
    "r": 76,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 91.858,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.15276,
    "h": 134.4
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#4C8817
secondary
#813FBC
accent
#3AEE99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8817

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

Preview Lab → · Contrast checker → · Palette generator →

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