#4C821B#4C821B

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

Color values

HEX#4C821B
RGBrgb(76, 130, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(41.5%, 0%, 79.2%, 49%)
CIE-LABlab(48.98, -35.26, 46.44)
CIE-LCHlch(48.98, 58.31, 127.20°)
OKLaboklab(54.84% -0.0991 0.1033)
OKLCHoklch(54.84% 0.143 133.8)
XYZxyz(11.1608, 17.5803, 3.8420)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C821B #511B82
analogous
#7F821B #4C821B #1B821D
triadic
#4C821B #1B4C82 #821B4C
tetradic
#4C821B #1B7F82 #511B82 #821D1B
square
#4C821B #1B7F82 #511B82 #821D1B
split-complementary
#4C821B #1D1B82 #821B7F
monochromatic
#111D06 #2E4F10 #4C821B #6AB526 #88D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C821B#FFFFFF#000000##FFFFFF
##4C821B1.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)
#877702
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#4C7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c821b;
/* rgb */ color: rgb(76, 130, 27);
/* oklch */ color: oklch(54.8% 0.143 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a760',
    500: '#4c821b',
    950: '#000000',
  },
}
SCSS
$custom: #4c821b;
$custom-light: #83a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4c821b",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 91.456,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.1431,
    "h": 133.8
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#4C821B
secondary
#7F43B6
accent
#3FE998
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C821B

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

Preview Lab → · Contrast checker → · Palette generator →

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