#4C9D1C#4C9D1C

#4C9D1C is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.1% C 0.176 H 137.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4C9D1C
RGBrgb(76, 157, 28)
HSLhsl(98, 70%, 36%)
HSVhsv(98, 82%, 62%)
CMYKcmyk(51.6%, 0%, 82.2%, 38.4%)
CIE-LABlab(57.78, -46.36, 54.36)
CIE-LCHlch(57.78, 71.44, 130.45°)
OKLaboklab(62.07% -0.1288 0.12)
OKLCHoklch(62.07% 0.176 137)
XYZxyz(15.2466, 25.7332, 5.2620)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9D1C #6D1C9D
analogous
#8D9D1C #4C9D1C #1C9D2C
triadic
#4C9D1C #1C4C9D #9D1C4C
tetradic
#4C9D1C #1C8D9D #6D1C9D #9D2C1C
square
#4C9D1C #1C8D9D #6D1C9D #9D2C1C
split-complementary
#4C9D1C #2C1C9D #9D1C8D
monochromatic
#1A3509 #336913 #4C9D1C #65D125 #88E053

Accessibility & contrast

On white

3.42
#4C9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#4C9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9D1C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9D1C#FFFFFF#000000##000000
##4C9D1C1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#479786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4c9d1c;
/* rgb */ color: rgb(76, 157, 28);
/* oklch */ color: oklch(62.1% 0.176 137.0);
Tailwind
colors: {
  custom: {
    50: '#87bb65',
    500: '#4c9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c9d1c;
$custom-light: #87bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9d1c",
  "rgb": {
    "r": 76,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 97.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6207,
    "c": 0.17609,
    "h": 137
  },
  "luminance": 0.25734
}

Semantic roles & 50–950 ramp

primary
#4C9D1C
secondary
#9951C3
accent
#3BEDAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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