#4C841D#4C841D

#4C841D is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.145 H 134.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C841D
RGBrgb(76, 132, 29)
HSLhsl(93, 64%, 32%)
HSVhsv(93, 78%, 52%)
CMYKcmyk(42.4%, 0%, 78%, 48.2%)
CIE-LABlab(49.65, -36.01, 46.39)
CIE-LCHlch(49.65, 58.72, 127.82°)
OKLaboklab(55.39% -0.101 0.1035)
OKLCHoklch(55.39% 0.145 134.3)
XYZxyz(11.4533, 18.1271, 4.0576)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C841D #551D84
analogous
#80841D #4C841D #1D8421
triadic
#4C841D #1D4C84 #841D4C
tetradic
#4C841D #1D8084 #551D84 #84211D
square
#4C841D #1D8084 #551D84 #84211D
split-complementary
#4C841D #211D84 #841D80
monochromatic
#122007 #2F5212 #4C841D #69B628 #87D645

Accessibility & contrast

On white

4.54
#4C841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4C841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C841D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C841D#FFFFFF#000000##000000
##4C841D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#4B7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c841d;
/* rgb */ color: rgb(76, 132, 29);
/* oklch */ color: oklch(55.4% 0.145 134.3);
Tailwind
colors: {
  custom: {
    50: '#83a861',
    500: '#4c841d',
    950: '#000000',
  },
}
SCSS
$custom: #4c841d;
$custom-light: #83a861;
$custom-dark: #000000;
JSON
{
  "hex": "#4c841d",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 92.621,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.14456,
    "h": 134.3
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#4C841D
secondary
#8346B7
accent
#41E79B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C841D

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

Preview Lab → · Contrast checker → · Palette generator →

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