#4C8221#4C8221

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

Color values

HEX#4C8221
RGBrgb(76, 130, 33)
HSLhsl(93, 60%, 32%)
HSVhsv(93, 75%, 51%)
CMYKcmyk(41.5%, 0%, 74.6%, 49%)
CIE-LABlab(49.02, -34.86, 44.28)
CIE-LCHlch(49.02, 56.36, 128.21°)
OKLaboklab(54.88% -0.0976 0.0997)
OKLCHoklch(54.88% 0.139 134.4)
XYZxyz(11.2374, 17.6110, 4.2457)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8221 #572182
analogous
#7D8221 #4C8221 #218227
triadic
#4C8221 #214C82 #82214C
tetradic
#4C8221 #217D82 #572182 #822721
square
#4C8221 #217D82 #572182 #822721
split-complementary
#4C8221 #272182 #82217D
monochromatic
#132008 #2F5115 #4C8221 #69B32D #87D24C

Accessibility & contrast

On white

4.64
#4C8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C8221
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8221#FFFFFF#000000##FFFFFF
##4C82211.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#4B7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8221;
/* rgb */ color: rgb(76, 130, 33);
/* oklch */ color: oklch(54.9% 0.139 134.4);
Tailwind
colors: {
  custom: {
    50: '#83a763',
    500: '#4c8221',
    950: '#000000',
  },
}
SCSS
$custom: #4c8221;
$custom-light: #83a763;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8221",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 93.402,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.13948,
    "h": 134.4
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#4C8221
secondary
#854AB4
accent
#45E39D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8221

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

Preview Lab → · Contrast checker → · Palette generator →

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