#4C8F29#4C8F29

#4C8F29 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.151 H 136.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C8F29
RGBrgb(76, 143, 41)
HSLhsl(99, 55%, 36%)
HSVhsv(99, 71%, 56%)
CMYKcmyk(46.9%, 0%, 71.3%, 43.9%)
CIE-LABlab(53.32, -39.85, 45.49)
CIE-LCHlch(53.32, 60.48, 131.21°)
OKLaboklab(58.43% -0.1105 0.1034)
OKLCHoklch(58.43% 0.151 136.9)
XYZxyz(13.2028, 21.3407, 5.5209)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F29 #6C298F
analogous
#7F8F29 #4C8F29 #298F39
triadic
#4C8F29 #294C8F #8F294C
tetradic
#4C8F29 #297F8F #6C298F #8F3929
square
#4C8F29 #297F8F #6C298F #8F3929
split-complementary
#4C8F29 #39298F #8F297F
monochromatic
#19300E #335F1B #4C8F29 #65BF37 #87D261

Accessibility & contrast

On white

3.99
#4C8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F29
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F29#FFFFFF#000000##000000
##4C8F291.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#488A7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f29;
/* rgb */ color: rgb(76, 143, 41);
/* oklch */ color: oklch(58.4% 0.151 136.9);
Tailwind
colors: {
  custom: {
    50: '#84b069',
    500: '#4c8f29',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f29;
$custom-light: #84b069;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f29",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 99.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.1513,
    "h": 136.9
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#4C8F29
secondary
#985CB7
accent
#49DFAB
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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