#4C8F1E#4C8F1E

#4C8F1E is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.158 H 135.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C8F1E
RGBrgb(76, 143, 30)
HSLhsl(96, 65%, 34%)
HSVhsv(96, 79%, 56%)
CMYKcmyk(46.9%, 0%, 79%, 43.9%)
CIE-LABlab(53.25, -40.63, 49.50)
CIE-LCHlch(53.25, 64.04, 129.38°)
OKLaboklab(58.34% -0.1133 0.1101)
OKLCHoklch(58.34% 0.158 135.8)
XYZxyz(13.0370, 21.2743, 4.6474)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F1E #611E8F
analogous
#858F1E #4C8F1E #1E8F29
triadic
#4C8F1E #1E4C8F #8F1E4C
tetradic
#4C8F1E #1E858F #611E8F #8F291E
square
#4C8F1E #1E858F #611E8F #8F291E
split-complementary
#4C8F1E #291E8F #8F1E85
monochromatic
#162A09 #315C13 #4C8F1E #67C229 #87DA4E

Accessibility & contrast

On white

4.00
#4C8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F1E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F1E#FFFFFF#000000##000000
##4C8F1E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948301
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#49897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f1e;
/* rgb */ color: rgb(76, 143, 30);
/* oklch */ color: oklch(58.3% 0.158 135.8);
Tailwind
colors: {
  custom: {
    50: '#85b063',
    500: '#4c8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f1e;
$custom-light: #85b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f1e",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 95.575,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.15803,
    "h": 135.8
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#4C8F1E
secondary
#8F4CBC
accent
#40E8A4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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