#4C822F#4C822F

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

Color values

HEX#4C822F
RGBrgb(76, 130, 47)
HSLhsl(99, 47%, 35%)
HSVhsv(99, 64%, 51%)
CMYKcmyk(41.5%, 0%, 63.8%, 49%)
CIE-LABlab(49.14, -33.64, 38.37)
CIE-LCHlch(49.14, 51.03, 131.24°)
OKLaboklab(55.02% -0.0931 0.0891)
OKLCHoklch(55.02% 0.129 136.3)
XYZxyz(11.4759, 17.7064, 5.5018)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C822F #652F82
analogous
#76822F #4C822F #2F823B
triadic
#4C822F #2F4C82 #822F4C
tetradic
#4C822F #2F7682 #652F82 #823B2F
square
#4C822F #2F7682 #652F82 #823B2F
split-complementary
#4C822F #3B2F82 #822F76
monochromatic
#17280E #32551F #4C822F #66AF3F #87C764

Accessibility & contrast

On white

4.62
#4C822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C822F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C822F#FFFFFF#000000##FFFFFF
##4C822F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c822f;
/* rgb */ color: rgb(76, 130, 47);
/* oklch */ color: oklch(55.0% 0.129 136.3);
Tailwind
colors: {
  custom: {
    50: '#82a76b',
    500: '#4c822f',
    950: '#000000',
  },
}
SCSS
$custom: #4c822f;
$custom-light: #82a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c822f",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 99.036,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.12892,
    "h": 136.3
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#4C822F
secondary
#925FAE
accent
#51D7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C822F

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

Preview Lab → · Contrast checker → · Palette generator →

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