#4C821F#4C821F

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

Color values

HEX#4C821F
RGBrgb(76, 130, 31)
HSLhsl(93, 61%, 32%)
HSVhsv(93, 76%, 51%)
CMYKcmyk(41.5%, 0%, 76.2%, 49%)
CIE-LABlab(49.01, -35.00, 45.03)
CIE-LCHlch(49.01, 57.03, 127.85°)
OKLaboklab(54.87% -0.0981 0.101)
OKLCHoklch(54.87% 0.141 134.2)
XYZxyz(11.2102, 17.6001, 4.1025)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C821F #551F82
analogous
#7E821F #4C821F #1F8223
triadic
#4C821F #1F4C82 #821F4C
tetradic
#4C821F #1F7E82 #551F82 #82231F
square
#4C821F #1F7E82 #551F82 #82231F
split-complementary
#4C821F #231F82 #821F7E
monochromatic
#121F07 #2F5113 #4C821F #69B32B #87D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C821F#FFFFFF#000000##FFFFFF
##4C821F1.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)
#87770B
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#4B7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c821f;
/* rgb */ color: rgb(76, 130, 31);
/* oklch */ color: oklch(54.9% 0.141 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a762',
    500: '#4c821f',
    950: '#000000',
  },
}
SCSS
$custom: #4c821f;
$custom-light: #83a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4c821f",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 92.727,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.14076,
    "h": 134.2
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#4C821F
secondary
#8348B5
accent
#43E59B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C821F

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

Preview Lab → · Contrast checker → · Palette generator →

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