#4C821D#4C821D

#4C821D is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.142 H 134.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4C821D
RGBrgb(76, 130, 29)
HSLhsl(92, 64%, 31%)
HSVhsv(92, 78%, 51%)
CMYKcmyk(41.5%, 0%, 77.7%, 49%)
CIE-LABlab(48.99, -35.13, 45.75)
CIE-LCHlch(48.99, 57.68, 127.52°)
OKLaboklab(54.85% -0.0986 0.1021)
OKLCHoklch(54.85% 0.142 134)
XYZxyz(11.1847, 17.5899, 3.9680)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C821D #531D82
analogous
#7E821D #4C821D #1D8220
triadic
#4C821D #1D4C82 #821D4C
tetradic
#4C821D #1D7E82 #531D82 #82201D
square
#4C821D #1D7E82 #531D82 #82201D
split-complementary
#4C821D #201D82 #821D7E
monochromatic
#111E07 #2F5012 #4C821D #69B428 #88D544

Accessibility & contrast

On white

4.65
#4C821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4C821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C821D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C821D#FFFFFF#000000##FFFFFF
##4C821D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4C7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c821d;
/* rgb */ color: rgb(76, 130, 29);
/* oklch */ color: oklch(54.9% 0.142 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a761',
    500: '#4c821d',
    950: '#000000',
  },
}
SCSS
$custom: #4c821d;
$custom-light: #83a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4c821d",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 92.079,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.14196,
    "h": 134
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#4C821D
secondary
#8146B5
accent
#41E79A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C821D

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

Preview Lab → · Contrast checker → · Palette generator →

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