#4C8F1D#4C8F1D

#4C8F1D is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.159 H 135.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C8F1D
RGBrgb(76, 143, 29)
HSLhsl(95, 66%, 34%)
HSVhsv(95, 80%, 56%)
CMYKcmyk(46.9%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.24, -40.68, 49.82)
CIE-LCHlch(53.24, 64.32, 129.23°)
OKLaboklab(58.34% -0.1136 0.1107)
OKLCHoklch(58.34% 0.159 135.7)
XYZxyz(13.0244, 21.2693, 4.5813)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F1D #601D8F
analogous
#858F1D #4C8F1D #1D8F27
triadic
#4C8F1D #1D4C8F #8F1D4C
tetradic
#4C8F1D #1D858F #601D8F #8F271D
square
#4C8F1D #1D858F #601D8F #8F271D
split-complementary
#4C8F1D #271D8F #8F1D85
monochromatic
#162908 #315C13 #4C8F1D #67C227 #87DB4C

Accessibility & contrast

On white

4.00
#4C8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F1D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F1D#FFFFFF#000000##000000
##4C8F1D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f1d;
/* rgb */ color: rgb(76, 143, 29);
/* oklch */ color: oklch(58.3% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#85b063',
    500: '#4c8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f1d;
$custom-light: #85b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f1d",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 95.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.15856,
    "h": 135.7
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#4C8F1D
secondary
#8E4BBD
accent
#3FE9A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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