#4C9D1B#4C9D1B

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

Color values

HEX#4C9D1B
RGBrgb(76, 157, 27)
HSLhsl(97, 71%, 36%)
HSVhsv(97, 83%, 62%)
CMYKcmyk(51.6%, 0%, 82.8%, 38.4%)
CIE-LABlab(57.78, -46.41, 54.64)
CIE-LCHlch(57.78, 71.69, 130.34°)
OKLaboklab(62.07% -0.129 0.1205)
OKLCHoklch(62.07% 0.177 137)
XYZxyz(15.2348, 25.7285, 5.2000)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9D1B #6C1B9D
analogous
#8D9D1B #4C9D1B #1B9D2B
triadic
#4C9D1B #1B4C9D #9D1B4C
tetradic
#4C9D1B #1B8D9D #6C1B9D #9D2B1B
square
#4C9D1B #1B8D9D #6C1B9D #9D2B1B
split-complementary
#4C9D1B #2B1B9D #9D1B8D
monochromatic
#193509 #336912 #4C9D1B #65D124 #87E151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C9D1B#FFFFFF#000000##000000
##4C9D1B1.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)
#98882B
Tritanopia (blue-blind)
#479786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4c9d1b;
/* rgb */ color: rgb(76, 157, 27);
/* oklch */ color: oklch(62.1% 0.177 137.0);
Tailwind
colors: {
  custom: {
    50: '#87bb64',
    500: '#4c9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c9d1b;
$custom-light: #87bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9d1b",
  "rgb": {
    "r": 76,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 97.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.17653,
    "h": 137
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#4C9D1B
secondary
#9850C4
accent
#3AEDAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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