#4D8B1D#4D8B1D

#4D8B1D is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.153 H 135.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D8B1D
RGBrgb(77, 139, 29)
HSLhsl(94, 65%, 33%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(44.6%, 0%, 79.1%, 45.5%)
CIE-LABlab(51.98, -38.67, 48.64)
CIE-LCHlch(51.98, 62.14, 128.48°)
OKLaboklab(57.32% -0.1082 0.1082)
OKLCHoklch(57.32% 0.153 135)
XYZxyz(12.5147, 20.1310, 4.3884)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B1D #5B1D8B
analogous
#848B1D #4D8B1D #1D8B24
triadic
#4D8B1D #1D4D8B #8B1D4D
tetradic
#4D8B1D #1D848B #5B1D8B #8B241D
square
#4D8B1D #1D848B #5B1D8B #8B241D
split-complementary
#4D8B1D #241D8B #8B1D84
monochromatic
#152608 #315812 #4D8B1D #69BE28 #88D949

Accessibility & contrast

On white

4.18
#4D8B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4D8B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B1D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B1D#FFFFFF#000000##000000
##4D8B1D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b1d;
/* rgb */ color: rgb(77, 139, 29);
/* oklch */ color: oklch(57.3% 0.153 135.0);
Tailwind
colors: {
  custom: {
    50: '#85ad62',
    500: '#4d8b1d',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b1d;
$custom-light: #85ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b1d",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 93.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.153,
    "h": 135
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#4D8B1D
secondary
#8949BB
accent
#3FE89F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4D8B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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