#4C8618#4C8618

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

Color values

HEX#4C8618
RGBrgb(76, 134, 24)
HSLhsl(92, 70%, 31%)
HSVhsv(92, 82%, 53%)
CMYKcmyk(43.3%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.28, -37.17, 48.63)
CIE-LCHlch(50.28, 61.21, 127.39°)
OKLaboklab(55.9% -0.1044 0.1074)
OKLCHoklch(55.9% 0.15 134.2)
XYZxyz(11.6702, 18.6520, 3.8493)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8618 #521886
analogous
#838618 #4C8618 #18861B
triadic
#4C8618 #184C86 #86184C
tetradic
#4C8618 #188386 #521886 #861B18
square
#4C8618 #188386 #521886 #861B18
split-complementary
#4C8618 #1B1886 #861883
monochromatic
#111E05 #2F520F #4C8618 #69BA21 #88DC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8618#FFFFFF#000000##000000
##4C86181.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)
#847625
Tritanopia (blue-blind)
#4B8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c8618;
/* rgb */ color: rgb(76, 134, 24);
/* oklch */ color: oklch(55.9% 0.150 134.2);
Tailwind
colors: {
  custom: {
    50: '#84aa5f',
    500: '#4c8618',
    950: '#000000',
  },
}
SCSS
$custom: #4c8618;
$custom-light: #84aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8618",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 91.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.14977,
    "h": 134.2
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#4C8618
secondary
#8040BA
accent
#3BEC99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C8618

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

Preview Lab → · Contrast checker → · Palette generator →

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