#4C842E#4C842E

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

Color values

HEX#4C842E
RGBrgb(76, 132, 46)
HSLhsl(99, 48%, 35%)
HSVhsv(99, 65%, 52%)
CMYKcmyk(42.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.78, -34.64, 39.54)
CIE-LCHlch(49.78, 52.57, 131.22°)
OKLaboklab(55.54% -0.0959 0.0915)
OKLCHoklch(55.54% 0.133 136.4)
XYZxyz(11.7246, 18.2356, 5.4863)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C842E #662E84
analogous
#77842E #4C842E #2E843B
triadic
#4C842E #2E4C84 #842E4C
tetradic
#4C842E #2E7784 #662E84 #843B2E
square
#4C842E #2E7784 #662E84 #843B2E
split-complementary
#4C842E #3B2E84 #842E77
monochromatic
#18290E #32571E #4C842E #66B13E #87C964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C842E#FFFFFF#000000##000000
##4C842E1.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)
#897924
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#4A7F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c842e;
/* rgb */ color: rgb(76, 132, 46);
/* oklch */ color: oklch(55.5% 0.133 136.4);
Tailwind
colors: {
  custom: {
    50: '#82a86b',
    500: '#4c842e',
    950: '#000000',
  },
}
SCSS
$custom: #4c842e;
$custom-light: #82a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c842e",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 99.07,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.13259,
    "h": 136.4
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#4C842E
secondary
#935EB0
accent
#50D8A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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