#4C8A1A#4C8A1A

#4C8A1A is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.154 H 134.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4C8A1A
RGBrgb(76, 138, 26)
HSLhsl(93, 68%, 32%)
HSVhsv(93, 81%, 54%)
CMYKcmyk(44.9%, 0%, 81.2%, 45.9%)
CIE-LABlab(51.60, -38.76, 49.23)
CIE-LCHlch(51.60, 62.66, 128.21°)
OKLaboklab(56.98% -0.1086 0.109)
OKLCHoklch(56.98% 0.154 134.9)
XYZxyz(12.2552, 19.7873, 4.1507)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A1A #581A8A
analogous
#848A1A #4C8A1A #1A8A20
triadic
#4C8A1A #1A4C8A #8A1A4C
tetradic
#4C8A1A #1A848A #581A8A #8A201A
square
#4C8A1A #1A848A #581A8A #8A201A
split-complementary
#4C8A1A #201A8A #8A1A84
monochromatic
#132307 #305710 #4C8A1A #68BD24 #87DC43

Accessibility & contrast

On white

4.24
#4C8A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4C8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A1A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A1A#FFFFFF#000000##000000
##4C8A1A1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#4A8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c8a1a;
/* rgb */ color: rgb(76, 138, 26);
/* oklch */ color: oklch(57.0% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#84ac61',
    500: '#4c8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a1a;
$custom-light: #84ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a1a",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 93.214,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.15382,
    "h": 134.9
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#4C8A1A
secondary
#8643BD
accent
#3DEB9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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