#4C8B1A#4C8B1A

#4C8B1A is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.155 H 135.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8B1A
RGBrgb(76, 139, 26)
HSLhsl(93, 68%, 32%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(45.3%, 0%, 81.3%, 45.5%)
CIE-LABlab(51.92, -39.19, 49.54)
CIE-LCHlch(51.92, 63.16, 128.34°)
OKLaboklab(57.25% -0.1097 0.1096)
OKLCHoklch(57.25% 0.155 135)
XYZxyz(12.3993, 20.0756, 4.1987)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B1A #591A8B
analogous
#858B1A #4C8B1A #1A8B20
triadic
#4C8B1A #1A4C8B #8B1A4C
tetradic
#4C8B1A #1A858B #591A8B #8B201A
square
#4C8B1A #1A858B #591A8B #8B201A
split-complementary
#4C8B1A #201A8B #8B1A85
monochromatic
#142407 #305710 #4C8B1A #68BF24 #87DC43

Accessibility & contrast

On white

4.19
#4C8B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B1A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B1A#FFFFFF#000000##000000
##4C8B1A1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b1a;
/* rgb */ color: rgb(76, 139, 26);
/* oklch */ color: oklch(57.2% 0.155 135.0);
Tailwind
colors: {
  custom: {
    50: '#84ad61',
    500: '#4c8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b1a;
$custom-light: #84ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b1a",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 93.451,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.15508,
    "h": 135
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#4C8B1A
secondary
#8744BD
accent
#3CEB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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