#4C8E1D#4C8E1D

#4C8E1D is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.157 H 135.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C8E1D
RGBrgb(76, 142, 29)
HSLhsl(95, 66%, 34%)
HSVhsv(95, 80%, 56%)
CMYKcmyk(46.5%, 0%, 79.6%, 44.3%)
CIE-LABlab(52.92, -40.27, 49.51)
CIE-LCHlch(52.92, 63.82, 129.12°)
OKLaboklab(58.07% -0.1124 0.11)
OKLCHoklch(58.07% 0.157 135.6)
XYZxyz(12.8749, 20.9704, 4.5314)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E1D #5F1D8E
analogous
#848E1D #4C8E1D #1D8E26
triadic
#4C8E1D #1D4C8E #8E1D4C
tetradic
#4C8E1D #1D848E #5F1D8E #8E261D
square
#4C8E1D #1D848E #5F1D8E #8E261D
split-complementary
#4C8E1D #261D8E #8E1D84
monochromatic
#162808 #315B13 #4C8E1D #67C127 #87DA4B

Accessibility & contrast

On white

4.04
#4C8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E1D#FFFFFF#000000##000000
##4C8E1D1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e1d;
/* rgb */ color: rgb(76, 142, 29);
/* oklch */ color: oklch(58.1% 0.157 135.6);
Tailwind
colors: {
  custom: {
    50: '#85af63',
    500: '#4c8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e1d;
$custom-light: #85af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e1d",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 95.044,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.15731,
    "h": 135.6
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#4C8E1D
secondary
#8D4ABD
accent
#3FE9A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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