#4D8D1D#4D8D1D

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

Color values

HEX#4D8D1D
RGBrgb(77, 141, 29)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(45.4%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.64, -39.51, 49.26)
CIE-LCHlch(52.64, 63.15, 128.73°)
OKLaboklab(57.85% -0.1105 0.1095)
OKLCHoklch(57.85% 0.156 135.3)
XYZxyz(12.8069, 20.7155, 4.4858)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D1D #5D1D8D
analogous
#858D1D #4D8D1D #1D8D25
triadic
#4D8D1D #1D4D8D #8D1D4D
tetradic
#4D8D1D #1D858D #5D1D8D #8D251D
square
#4D8D1D #1D858D #5D1D8D #8D251D
split-complementary
#4D8D1D #251D8D #8D1D85
monochromatic
#162708 #315A13 #4D8D1D #69C027 #88DA4B

Accessibility & contrast

On white

4.08
#4D8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D1D#FFFFFF#000000##000000
##4D8D1D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d1d;
/* rgb */ color: rgb(77, 141, 29);
/* oklch */ color: oklch(57.9% 0.156 135.3);
Tailwind
colors: {
  custom: {
    50: '#85af63',
    500: '#4d8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d1d;
$custom-light: #85af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d1d",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 94.286,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.15552,
    "h": 135.3
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#4D8D1D
secondary
#8B4ABC
accent
#3FE9A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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