#4C8D1E#4C8D1E

#4C8D1E is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.156 H 135.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C8D1E
RGBrgb(76, 141, 30)
HSLhsl(95, 65%, 34%)
HSVhsv(95, 79%, 55%)
CMYKcmyk(46.1%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.60, -39.79, 48.88)
CIE-LCHlch(52.60, 63.03, 129.15°)
OKLaboklab(57.81% -0.1111 0.1088)
OKLCHoklch(57.81% 0.156 135.6)
XYZxyz(12.7394, 20.6792, 4.5483)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D1E #5F1E8D
analogous
#838D1E #4C8D1E #1E8D27
triadic
#4C8D1E #1E4C8D #8D1E4C
tetradic
#4C8D1E #1E838D #5F1E8D #8D271E
square
#4C8D1E #1E838D #5F1E8D #8D271E
split-complementary
#4C8D1E #271E8D #8D1E83
monochromatic
#162809 #315B13 #4C8D1E #67BF29 #87D94C

Accessibility & contrast

On white

4.09
#4C8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D1E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D1E#FFFFFF#000000##000000
##4C8D1E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d1e;
/* rgb */ color: rgb(76, 141, 30);
/* oklch */ color: oklch(57.8% 0.156 135.6);
Tailwind
colors: {
  custom: {
    50: '#84af63',
    500: '#4c8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d1e;
$custom-light: #84af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d1e",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 95.135,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.15552,
    "h": 135.6
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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