#4C842F#4C842F

#4C842F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.132 H 136.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4C842F
RGBrgb(76, 132, 47)
HSLhsl(100, 47%, 35%)
HSVhsv(100, 64%, 52%)
CMYKcmyk(42.4%, 0%, 64.4%, 48.2%)
CIE-LABlab(49.79, -34.54, 39.09)
CIE-LCHlch(49.79, 52.16, 131.46°)
OKLaboklab(55.55% -0.0956 0.0907)
OKLCHoklch(55.55% 0.132 136.5)
XYZxyz(11.7445, 18.2436, 5.5913)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C842F #672F84
analogous
#77842F #4C842F #2F843C
triadic
#4C842F #2F4C84 #842F4C
tetradic
#4C842F #2F7784 #672F84 #843C2F
square
#4C842F #2F7784 #672F84 #843C2F
split-complementary
#4C842F #3C2F84 #842F77
monochromatic
#182A0F #32571F #4C842F #66B13F #87C865

Accessibility & contrast

On white

4.52
#4C842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4C842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C842F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C842F#FFFFFF#000000##000000
##4C842F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#4A7F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c842f;
/* rgb */ color: rgb(76, 132, 47);
/* oklch */ color: oklch(55.5% 0.132 136.5);
Tailwind
colors: {
  custom: {
    50: '#82a86b',
    500: '#4c842f',
    950: '#000000',
  },
}
SCSS
$custom: #4c842f;
$custom-light: #82a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c842f",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 99.529,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.13175,
    "h": 136.5
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#4C842F
secondary
#9460AF
accent
#51D7A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C842F

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

Preview Lab → · Contrast checker → · Palette generator →

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