#4C8D29#4C8D29

#4C8D29 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.149 H 136.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C8D29
RGBrgb(76, 141, 41)
HSLhsl(99, 55%, 36%)
HSVhsv(99, 71%, 55%)
CMYKcmyk(46.1%, 0%, 70.9%, 44.7%)
CIE-LABlab(52.67, -39.00, 44.82)
CIE-LCHlch(52.67, 59.41, 131.03°)
OKLaboklab(57.89% -0.1082 0.102)
OKLCHoklch(57.89% 0.149 136.7)
XYZxyz(12.9052, 20.7455, 5.4217)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D29 #6A298D
analogous
#7E8D29 #4C8D29 #298D38
triadic
#4C8D29 #294C8D #8D294C
tetradic
#4C8D29 #297E8D #6A298D #8D3829
square
#4C8D29 #297E8D #6A298D #8D3829
split-complementary
#4C8D29 #38298D #8D297E
monochromatic
#192E0D #325E1B #4C8D29 #66BC37 #87D160

Accessibility & contrast

On white

4.08
#4C8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4C8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D29
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D29#FFFFFF#000000##000000
##4C8D291.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d29;
/* rgb */ color: rgb(76, 141, 41);
/* oklch */ color: oklch(57.9% 0.149 136.7);
Tailwind
colors: {
  custom: {
    50: '#84af69',
    500: '#4c8d29',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d29;
$custom-light: #84af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d29",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 99,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.14866,
    "h": 136.7
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#4C8D29
secondary
#975BB6
accent
#4ADEAA
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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