#4C9E1B#4C9E1B

#4C9E1B is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.3% C 0.178 H 137.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4C9E1B
RGBrgb(76, 158, 27)
HSLhsl(98, 71%, 36%)
HSVhsv(98, 83%, 62%)
CMYKcmyk(51.9%, 0%, 82.9%, 38%)
CIE-LABlab(58.10, -46.79, 54.94)
CIE-LCHlch(58.10, 72.16, 130.42°)
OKLaboklab(62.33% -0.1301 0.1211)
OKLCHoklch(62.33% 0.178 137)
XYZxyz(15.4047, 26.0682, 5.2566)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9E1B #6D1B9E
analogous
#8E9E1B #4C9E1B #1B9E2B
triadic
#4C9E1B #1B4C9E #9E1B4C
tetradic
#4C9E1B #1B8E9E #6D1B9E #9E2B1B
square
#4C9E1B #1B8E9E #6D1B9E #9E2B1B
split-complementary
#4C9E1B #2B1B9E #9E1B8E
monochromatic
#1A3509 #336A12 #4C9E1B #65D224 #88E152

Accessibility & contrast

On white

3.38
#4C9E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#4C9E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9E1B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9E1B#FFFFFF#000000##000000
##4C9E1B1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#479886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #4c9e1b;
/* rgb */ color: rgb(76, 158, 27);
/* oklch */ color: oklch(62.3% 0.178 137.0);
Tailwind
colors: {
  custom: {
    50: '#87bb64',
    500: '#4c9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c9e1b;
$custom-light: #87bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9e1b",
  "rgb": {
    "r": 76,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 97.557,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.17771,
    "h": 137
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#4C9E1B
secondary
#9951C4
accent
#3AEEAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4C9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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