#4C821A#4C821A

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

Color values

HEX#4C821A
RGBrgb(76, 130, 26)
HSLhsl(91, 67%, 31%)
HSVhsv(91, 80%, 51%)
CMYKcmyk(41.5%, 0%, 80%, 49%)
CIE-LABlab(48.98, -35.32, 46.77)
CIE-LCHlch(48.98, 58.61, 127.05°)
OKLaboklab(54.83% -0.0993 0.1038)
OKLCHoklch(54.83% 0.144 133.7)
XYZxyz(11.1494, 17.5758, 3.7821)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C821A #501A82
analogous
#80821A #4C821A #1A821C
triadic
#4C821A #1A4C82 #821A4C
tetradic
#4C821A #1A8082 #501A82 #821C1A
square
#4C821A #1A8082 #501A82 #821C1A
split-complementary
#4C821A #1C1A82 #821A80
monochromatic
#101C06 #2E4F10 #4C821A #6AB524 #88D83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C821A#FFFFFF#000000##FFFFFF
##4C821A1.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)
#877700
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#4C7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c821a;
/* rgb */ color: rgb(76, 130, 26);
/* oklch */ color: oklch(54.8% 0.144 133.7);
Tailwind
colors: {
  custom: {
    50: '#83a760',
    500: '#4c821a',
    950: '#000000',
  },
}
SCSS
$custom: #4c821a;
$custom-light: #83a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4c821a",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 91.154,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.14365,
    "h": 133.7
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#4C821A
secondary
#7E42B6
accent
#3EEA97
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C821A

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

Preview Lab → · Contrast checker → · Palette generator →

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