#4C8418#4C8418

#4C8418 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.147 H 133.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4C8418
RGBrgb(76, 132, 24)
HSLhsl(91, 69%, 31%)
HSVhsv(91, 82%, 52%)
CMYKcmyk(42.4%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.62, -36.30, 48.02)
CIE-LCHlch(49.62, 60.20, 127.08°)
OKLaboklab(55.36% -0.1021 0.1061)
OKLCHoklch(55.36% 0.147 133.9)
XYZxyz(11.3964, 18.1044, 3.7580)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8418 #501884
analogous
#828418 #4C8418 #18841A
triadic
#4C8418 #184C84 #84184C
tetradic
#4C8418 #188284 #501884 #841A18
square
#4C8418 #188284 #501884 #841A18
split-complementary
#4C8418 #1A1884 #841882
monochromatic
#101C05 #2E500F #4C8418 #6AB821 #88DB3B

Accessibility & contrast

On white

4.54
#4C8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4C8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8418
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8418#FFFFFF#000000##000000
##4C84181.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#4C7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c8418;
/* rgb */ color: rgb(76, 132, 24);
/* oklch */ color: oklch(55.4% 0.147 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a85f',
    500: '#4c8418',
    950: '#000000',
  },
}
SCSS
$custom: #4c8418;
$custom-light: #84a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8418",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 91.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.14725,
    "h": 133.9
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#4C8418
secondary
#7E40B8
accent
#3CEC97
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8418

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

Preview Lab → · Contrast checker → · Palette generator →

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