#4C882D#4C882D

#4C882D is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.139 H 136.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4C882D
RGBrgb(76, 136, 45)
HSLhsl(100, 50%, 35%)
HSVhsv(100, 67%, 53%)
CMYKcmyk(44.1%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.08, -36.50, 41.41)
CIE-LCHlch(51.08, 55.20, 131.39°)
OKLaboklab(56.6% -0.1011 0.0953)
OKLCHoklch(56.6% 0.139 136.7)
XYZxyz(12.2580, 19.3336, 5.5680)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C882D #692D88
analogous
#79882D #4C882D #2D883B
triadic
#4C882D #2D4C88 #882D4C
tetradic
#4C882D #2D7988 #692D88 #883B2D
square
#4C882D #2D7988 #692D88 #883B2D
split-complementary
#4C882D #3B2D88 #882D79
monochromatic
#192C0F #325A1E #4C882D #66B63C #87CC64

Accessibility & contrast

On white

4.31
#4C882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4C882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C882D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C882D#FFFFFF#000000##000000
##4C882D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#498375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c882d;
/* rgb */ color: rgb(76, 136, 45);
/* oklch */ color: oklch(56.6% 0.139 136.7);
Tailwind
colors: {
  custom: {
    50: '#83ab6a',
    500: '#4c882d',
    950: '#000000',
  },
}
SCSS
$custom: #4c882d;
$custom-light: #83ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c882d",
  "rgb": {
    "r": 76,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 99.56,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.13895,
    "h": 136.7
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#4C882D
secondary
#965FB2
accent
#4EDAAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C882D

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

Preview Lab → · Contrast checker → · Palette generator →

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