#4C821E#4C821E

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

Color values

HEX#4C821E
RGBrgb(76, 130, 30)
HSLhsl(92, 63%, 31%)
HSVhsv(92, 77%, 51%)
CMYKcmyk(41.5%, 0%, 76.9%, 49%)
CIE-LABlab(49.00, -35.07, 45.40)
CIE-LCHlch(49.00, 57.36, 127.68°)
OKLaboklab(54.86% -0.0984 0.1016)
OKLCHoklch(54.86% 0.141 134.1)
XYZxyz(11.1973, 17.5949, 4.0342)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C821E #541E82
analogous
#7E821E #4C821E #1E8222
triadic
#4C821E #1E4C82 #821E4C
tetradic
#4C821E #1E7E82 #541E82 #82221E
square
#4C821E #1E7E82 #541E82 #82221E
split-complementary
#4C821E #221E82 #821E7E
monochromatic
#121F07 #2F5013 #4C821E #69B429 #88D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C821E#FFFFFF#000000##FFFFFF
##4C821E1.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)
#877709
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#4B7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c821e;
/* rgb */ color: rgb(76, 130, 30);
/* oklch */ color: oklch(54.9% 0.141 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a762',
    500: '#4c821e',
    950: '#000000',
  },
}
SCSS
$custom: #4c821e;
$custom-light: #83a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4c821e",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 92.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.14137,
    "h": 134.1
  },
  "luminance": 0.17596
}

Semantic roles & 50–950 ramp

primary
#4C821E
secondary
#8247B5
accent
#42E69A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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