#4C901B#4C901B

#4C901B is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.6% C 0.161 H 135.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C901B
RGBrgb(76, 144, 27)
HSLhsl(95, 68%, 34%)
HSVhsv(95, 81%, 56%)
CMYKcmyk(47.2%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.56, -41.21, 50.75)
CIE-LCHlch(53.56, 65.38, 129.08°)
OKLaboklab(58.59% -0.1151 0.1123)
OKLCHoklch(58.59% 0.161 135.7)
XYZxyz(13.1513, 21.5613, 4.5055)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C901B #5F1B90
analogous
#86901B #4C901B #1B9024
triadic
#4C901B #1B4C90 #901B4C
tetradic
#4C901B #1B8690 #5F1B90 #90241B
square
#4C901B #1B8690 #5F1B90 #90241B
split-complementary
#4C901B #241B90 #901B86
monochromatic
#162908 #315C11 #4C901B #67C425 #87DD49

Accessibility & contrast

On white

3.95
#4C901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4C901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C901B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C901B#FFFFFF#000000##000000
##4C901B1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#498A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c901b;
/* rgb */ color: rgb(76, 144, 27);
/* oklch */ color: oklch(58.6% 0.161 135.7);
Tailwind
colors: {
  custom: {
    50: '#85b162',
    500: '#4c901b',
    950: '#000000',
  },
}
SCSS
$custom: #4c901b;
$custom-light: #85b162;
$custom-dark: #000000;
JSON
{
  "hex": "#4c901b",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 94.872,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.1608,
    "h": 135.7
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#4C901B
secondary
#8D48BF
accent
#3DEBA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C901B

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

Preview Lab → · Contrast checker → · Palette generator →

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