#4C822D#4C822D

#4C822D is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.131 H 135.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C822D
RGBrgb(76, 130, 45)
HSLhsl(98, 49%, 34%)
HSVhsv(98, 65%, 51%)
CMYKcmyk(41.5%, 0%, 65.4%, 49%)
CIE-LABlab(49.12, -33.84, 39.28)
CIE-LCHlch(49.12, 51.84, 130.75°)
OKLaboklab(55% -0.0938 0.0908)
OKLCHoklch(55% 0.131 135.9)
XYZxyz(11.4365, 17.6906, 5.2941)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C822D #632D82
analogous
#77822D #4C822D #2D8239
triadic
#4C822D #2D4C82 #822D4C
tetradic
#4C822D #2D7782 #632D82 #82392D
square
#4C822D #2D7782 #632D82 #82392D
split-complementary
#4C822D #392D82 #822D77
monochromatic
#17270E #31551D #4C822D #67AF3D #87C861

Accessibility & contrast

On white

4.63
#4C822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4C822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C822D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C822D#FFFFFF#000000##FFFFFF
##4C822D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#4A7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c822d;
/* rgb */ color: rgb(76, 130, 45);
/* oklch */ color: oklch(55.0% 0.131 135.9);
Tailwind
colors: {
  custom: {
    50: '#82a76a',
    500: '#4c822d',
    950: '#000000',
  },
}
SCSS
$custom: #4c822d;
$custom-light: #82a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c822d",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 98.118,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.1306,
    "h": 135.9
  },
  "luminance": 0.17691
}

Semantic roles & 50–950 ramp

primary
#4C822D
secondary
#915CAF
accent
#50D8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C822D

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

Preview Lab → · Contrast checker → · Palette generator →

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