#4C841A#4C841A

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

Color values

HEX#4C841A
RGBrgb(76, 132, 26)
HSLhsl(92, 67%, 31%)
HSVhsv(92, 80%, 52%)
CMYKcmyk(42.4%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.63, -36.19, 47.39)
CIE-LCHlch(49.63, 59.63, 127.37°)
OKLaboklab(55.37% -0.1017 0.1051)
OKLCHoklch(55.37% 0.146 134)
XYZxyz(11.4180, 18.1130, 3.8716)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C841A #521A84
analogous
#81841A #4C841A #1A841D
triadic
#4C841A #1A4C84 #841A4C
tetradic
#4C841A #1A8184 #521A84 #841D1A
square
#4C841A #1A8184 #521A84 #841D1A
split-complementary
#4C841A #1D1A84 #841A81
monochromatic
#111E06 #2F5110 #4C841A #69B724 #88D93F

Accessibility & contrast

On white

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

On black

4.62
#4C841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C841A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C841A#FFFFFF#000000##000000
##4C841A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#4B7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c841a;
/* rgb */ color: rgb(76, 132, 26);
/* oklch */ color: oklch(55.4% 0.146 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a860',
    500: '#4c841a',
    950: '#000000',
  },
}
SCSS
$custom: #4c841a;
$custom-light: #83a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4c841a",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 91.698,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.14622,
    "h": 134
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#4C841A
secondary
#8042B8
accent
#3EEA99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C841A

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

Preview Lab → · Contrast checker → · Palette generator →

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