#4C8B1D#4C8B1D

#4C8B1D is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.154 H 135.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8B1D
RGBrgb(76, 139, 29)
HSLhsl(94, 65%, 33%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(45.3%, 0%, 79.1%, 45.5%)
CIE-LABlab(51.94, -39.01, 48.58)
CIE-LCHlch(51.94, 62.31, 128.77°)
OKLaboklab(57.27% -0.1091 0.1081)
OKLCHoklch(57.27% 0.154 135.3)
XYZxyz(12.4346, 20.0897, 4.3847)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B1D #5C1D8B
analogous
#838B1D #4C8B1D #1D8B25
triadic
#4C8B1D #1D4C8B #8B1D4C
tetradic
#4C8B1D #1D838B #5C1D8B #8B251D
square
#4C8B1D #1D838B #5C1D8B #8B251D
split-complementary
#4C8B1D #251D8B #8B1D83
monochromatic
#152608 #305812 #4C8B1D #68BE28 #87D949

Accessibility & contrast

On white

4.18
#4C8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B1D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B1D#FFFFFF#000000##000000
##4C8B1D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b1d;
/* rgb */ color: rgb(76, 139, 29);
/* oklch */ color: oklch(57.3% 0.154 135.3);
Tailwind
colors: {
  custom: {
    50: '#84ad62',
    500: '#4c8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b1d;
$custom-light: #84ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b1d",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 94.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.15354,
    "h": 135.3
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#4C8B1D
secondary
#8A49BB
accent
#3FE8A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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