#4D8D1E#4D8D1E

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

Color values

HEX#4D8D1E
RGBrgb(77, 141, 30)
HSLhsl(95, 65%, 34%)
HSVhsv(95, 79%, 55%)
CMYKcmyk(45.4%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.64, -39.45, 48.94)
CIE-LCHlch(52.64, 62.86, 128.88°)
OKLaboklab(57.86% -0.1102 0.1089)
OKLCHoklch(57.86% 0.155 135.3)
XYZxyz(12.8195, 20.7205, 4.5520)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D1E #5E1E8D
analogous
#848D1E #4D8D1E #1E8D27
triadic
#4D8D1E #1E4D8D #8D1E4D
tetradic
#4D8D1E #1E848D #5E1E8D #8D271E
square
#4D8D1E #1E848D #5E1E8D #8D271E
split-complementary
#4D8D1E #271E8D #8D1E84
monochromatic
#162809 #315B13 #4D8D1E #69BF29 #88D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D1E#FFFFFF#000000##000000
##4D8D1E1.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)
#928102
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d1e;
/* rgb */ color: rgb(77, 141, 30);
/* oklch */ color: oklch(57.9% 0.155 135.3);
Tailwind
colors: {
  custom: {
    50: '#85af63',
    500: '#4d8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d1e;
$custom-light: #85af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d1e",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 94.595,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.15499,
    "h": 135.3
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#4D8D1E
secondary
#8C4BBC
accent
#40E8A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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