#4C8E29#4C8E29

#4C8E29 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.150 H 136.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C8E29
RGBrgb(76, 142, 41)
HSLhsl(99, 55%, 36%)
HSVhsv(99, 71%, 56%)
CMYKcmyk(46.5%, 0%, 71.1%, 44.3%)
CIE-LABlab(53.00, -39.43, 45.16)
CIE-LCHlch(53.00, 59.95, 131.12°)
OKLaboklab(58.16% -0.1093 0.1027)
OKLCHoklch(58.16% 0.15 136.8)
XYZxyz(13.0534, 21.0418, 5.4710)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E29 #6B298E
analogous
#7E8E29 #4C8E29 #298E38
triadic
#4C8E29 #294C8E #8E294C
tetradic
#4C8E29 #297E8E #6B298E #8E3829
square
#4C8E29 #297E8E #6B298E #8E3829
split-complementary
#4C8E29 #38298E #8E297E
monochromatic
#192F0E #335F1B #4C8E29 #65BD37 #87D160

Accessibility & contrast

On white

4.03
#4C8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E29#FFFFFF#000000##000000
##4C8E291.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e29;
/* rgb */ color: rgb(76, 142, 41);
/* oklch */ color: oklch(58.2% 0.150 136.8);
Tailwind
colors: {
  custom: {
    50: '#84af69',
    500: '#4c8e29',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e29;
$custom-light: #84af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e29",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 99.208,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.14999,
    "h": 136.8
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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