#4C8B1C#4C8B1C

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

Color values

HEX#4C8B1C
RGBrgb(76, 139, 28)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 80%, 55%)
CMYKcmyk(45.3%, 0%, 79.9%, 45.5%)
CIE-LABlab(51.93, -39.07, 48.91)
CIE-LCHlch(51.93, 62.60, 128.62°)
OKLaboklab(57.26% -0.1093 0.1086)
OKLCHoklch(57.26% 0.154 135.2)
XYZxyz(12.4224, 20.0848, 4.3206)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B1C #5B1C8B
analogous
#838B1C #4C8B1C #1C8B23
triadic
#4C8B1C #1C4C8B #8B1C4C
tetradic
#4C8B1C #1C838B #5B1C8B #8B231C
square
#4C8B1C #1C838B #5B1C8B #8B231C
split-complementary
#4C8B1C #231C8B #8B1C83
monochromatic
#142507 #305812 #4C8B1C #68BE26 #87DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8B1C#FFFFFF#000000##000000
##4C8B1C1.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)
#887A28
Tritanopia (blue-blind)
#4A8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b1c;
/* rgb */ color: rgb(76, 139, 28);
/* oklch */ color: oklch(57.3% 0.154 135.2);
Tailwind
colors: {
  custom: {
    50: '#84ad62',
    500: '#4c8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b1c;
$custom-light: #84ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b1c",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 94.054,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.15406,
    "h": 135.2
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

primary
#4C8B1C
secondary
#8947BC
accent
#3EE99F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4C8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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