#4D8F1D#4D8F1D

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

Color values

HEX#4D8F1D
RGBrgb(77, 143, 29)
HSLhsl(95, 66%, 34%)
HSVhsv(95, 80%, 56%)
CMYKcmyk(46.2%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.29, -40.35, 49.88)
CIE-LCHlch(53.29, 64.16, 128.97°)
OKLaboklab(58.39% -0.1127 0.1108)
OKLCHoklch(58.39% 0.158 135.5)
XYZxyz(13.1045, 21.3106, 4.5850)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F1D #5F1D8F
analogous
#868F1D #4D8F1D #1D8F26
triadic
#4D8F1D #1D4D8F #8F1D4D
tetradic
#4D8F1D #1D868F #5F1D8F #8F261D
square
#4D8F1D #1D868F #5F1D8F #8F261D
split-complementary
#4D8F1D #261D8F #8F1D86
monochromatic
#162908 #325C13 #4D8F1D #68C227 #88DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8F1D#FFFFFF#000000##000000
##4D8F1D1.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)
#948300
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f1d;
/* rgb */ color: rgb(77, 143, 29);
/* oklch */ color: oklch(58.4% 0.158 135.5);
Tailwind
colors: {
  custom: {
    50: '#85b063',
    500: '#4d8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f1d;
$custom-light: #85b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f1d",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 94.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.15803,
    "h": 135.5
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#4D8F1D
secondary
#8D4BBD
accent
#3FE9A1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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