#4D8F1E#4D8F1E

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

Color values

HEX#4D8F1E
RGBrgb(77, 143, 30)
HSLhsl(95, 65%, 34%)
HSVhsv(95, 79%, 56%)
CMYKcmyk(46.2%, 0%, 79%, 43.9%)
CIE-LABlab(53.29, -40.29, 49.56)
CIE-LCHlch(53.29, 63.87, 129.11°)
OKLaboklab(58.39% -0.1125 0.1102)
OKLCHoklch(58.39% 0.158 135.6)
XYZxyz(13.1171, 21.3156, 4.6512)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F1E #601E8F
analogous
#868F1E #4D8F1E #1E8F27
triadic
#4D8F1E #1E4D8F #8F1E4D
tetradic
#4D8F1E #1E868F #601E8F #8F271E
square
#4D8F1E #1E868F #601E8F #8F271E
split-complementary
#4D8F1E #271E8F #8F1E86
monochromatic
#172A09 #325C13 #4D8F1E #68C229 #88DA4E

Accessibility & contrast

On white

3.99
#4D8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F1E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F1E#FFFFFF#000000##000000
##4D8F1E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948301
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f1e;
/* rgb */ color: rgb(77, 143, 30);
/* oklch */ color: oklch(58.4% 0.158 135.6);
Tailwind
colors: {
  custom: {
    50: '#85b063',
    500: '#4d8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f1e;
$custom-light: #85b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f1e",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 95.044,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.15751,
    "h": 135.6
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#4D8F1E
secondary
#8E4CBC
accent
#40E8A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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