#4C901C#4C901C

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

Color values

HEX#4C901C
RGBrgb(76, 144, 28)
HSLhsl(95, 67%, 34%)
HSVhsv(95, 81%, 56%)
CMYKcmyk(47.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.56, -41.16, 50.45)
CIE-LCHlch(53.56, 65.10, 129.21°)
OKLaboklab(58.6% -0.1149 0.1118)
OKLCHoklch(58.6% 0.16 135.8)
XYZxyz(13.1630, 21.5660, 4.5674)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C901C #601C90
analogous
#86901C #4C901C #1C9026
triadic
#4C901C #1C4C90 #901C4C
tetradic
#4C901C #1C8690 #601C90 #90261C
square
#4C901C #1C8690 #601C90 #90261C
split-complementary
#4C901C #261C90 #901C86
monochromatic
#162A08 #315D12 #4C901C #67C326 #87DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C901C#FFFFFF#000000##000000
##4C901C1.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: #4c901c;
/* rgb */ color: rgb(76, 144, 28);
/* oklch */ color: oklch(58.6% 0.160 135.8);
Tailwind
colors: {
  custom: {
    50: '#85b163',
    500: '#4c901c',
    950: '#000000',
  },
}
SCSS
$custom: #4c901c;
$custom-light: #85b163;
$custom-dark: #000000;
JSON
{
  "hex": "#4c901c",
  "rgb": {
    "r": 76,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 95.172,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.16031,
    "h": 135.8
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#4C901C
secondary
#8E4ABE
accent
#3DEAA3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C901C

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

Preview Lab → · Contrast checker → · Palette generator →

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