#4C8D1D#4C8D1D

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

Color values

HEX#4C8D1D
RGBrgb(76, 141, 29)
HSLhsl(95, 66%, 33%)
HSVhsv(95, 79%, 55%)
CMYKcmyk(46.1%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.59, -39.85, 49.20)
CIE-LCHlch(52.59, 63.32, 129.01°)
OKLaboklab(57.8% -0.1113 0.1094)
OKLCHoklch(57.8% 0.156 135.5)
XYZxyz(12.7268, 20.6742, 4.4821)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D1D #5E1D8D
analogous
#848D1D #4C8D1D #1D8D26
triadic
#4C8D1D #1D4C8D #8D1D4C
tetradic
#4C8D1D #1D848D #5E1D8D #8D261D
square
#4C8D1D #1D848D #5E1D8D #8D261D
split-complementary
#4C8D1D #261D8D #8D1D84
monochromatic
#152708 #315A13 #4C8D1D #67C027 #87DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8D1D#FFFFFF#000000##000000
##4C8D1D1.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: #4c8d1d;
/* rgb */ color: rgb(76, 141, 29);
/* oklch */ color: oklch(57.8% 0.156 135.5);
Tailwind
colors: {
  custom: {
    50: '#84af63',
    500: '#4c8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d1d;
$custom-light: #84af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d1d",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 94.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.15606,
    "h": 135.5
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#4C8D1D
secondary
#8C4ABC
accent
#3FE9A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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