#4C8D1C#4C8D1C

#4C8D1C is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.157 H 135.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D1C
RGBrgb(76, 141, 28)
HSLhsl(95, 67%, 33%)
HSVhsv(95, 80%, 55%)
CMYKcmyk(46.1%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.59, -39.91, 49.53)
CIE-LCHlch(52.59, 63.61, 128.86°)
OKLaboklab(57.8% -0.1115 0.1099)
OKLCHoklch(57.8% 0.157 135.4)
XYZxyz(12.7147, 20.6693, 4.4180)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D1C #5D1C8D
analogous
#848D1C #4C8D1C #1C8D24
triadic
#4C8D1C #1C4C8D #8D1C4C
tetradic
#4C8D1C #1C848D #5D1C8D #8D241C
square
#4C8D1C #1C848D #5D1C8D #8D241C
split-complementary
#4C8D1C #241C8D #8D1C84
monochromatic
#152708 #305A12 #4C8D1C #68C026 #87DB49

Accessibility & contrast

On white

4.09
#4C8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D1C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D1C#FFFFFF#000000##000000
##4C8D1C1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d1c;
/* rgb */ color: rgb(76, 141, 28);
/* oklch */ color: oklch(57.8% 0.157 135.4);
Tailwind
colors: {
  custom: {
    50: '#84af62',
    500: '#4c8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d1c;
$custom-light: #84af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d1c",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 94.513,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.15657,
    "h": 135.4
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#4C8D1C
secondary
#8B48BD
accent
#3EEAA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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