#4C8C1E#4C8C1E

#4C8C1E is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.154 H 135.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4C8C1E
RGBrgb(76, 140, 30)
HSLhsl(95, 65%, 33%)
HSVhsv(95, 79%, 55%)
CMYKcmyk(45.7%, 0%, 78.6%, 45.1%)
CIE-LABlab(52.27, -39.37, 48.56)
CIE-LCHlch(52.27, 62.52, 129.03°)
OKLaboklab(57.54% -0.11 0.1082)
OKLCHoklch(57.54% 0.154 135.5)
XYZxyz(12.5926, 20.3856, 4.4993)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C1E #5E1E8C
analogous
#838C1E #4C8C1E #1E8C27
triadic
#4C8C1E #1E4C8C #8C1E4C
tetradic
#4C8C1E #1E838C #5E1E8C #8C271E
square
#4C8C1E #1E838C #5E1E8C #8C271E
split-complementary
#4C8C1E #271E8C #8C1E83
monochromatic
#152708 #315A13 #4C8C1E #67BE29 #87D94C

Accessibility & contrast

On white

4.14
#4C8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4C8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C1E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C1E#FFFFFF#000000##000000
##4C8C1E1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#4A8777
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c1e;
/* rgb */ color: rgb(76, 140, 30);
/* oklch */ color: oklch(57.5% 0.154 135.5);
Tailwind
colors: {
  custom: {
    50: '#84ae63',
    500: '#4c8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c1e;
$custom-light: #84ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c1e",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 94.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.15425,
    "h": 135.5
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#4C8C1E
secondary
#8C4BBB
accent
#40E8A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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