#4D8D2C#4D8D2C

#4D8D2C is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.146 H 136.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D8D2C
RGBrgb(77, 141, 44)
HSLhsl(100, 52%, 36%)
HSVhsv(100, 69%, 55%)
CMYKcmyk(45.4%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.74, -38.41, 43.65)
CIE-LCHlch(52.74, 58.14, 131.35°)
OKLaboklab(57.97% -0.1064 0.0999)
OKLCHoklch(57.97% 0.146 136.8)
XYZxyz(13.0397, 20.8086, 5.7117)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D2C #6C2C8D
analogous
#7E8D2C #4D8D2C #2C8D3C
triadic
#4D8D2C #2C4D8D #8D2C4D
tetradic
#4D8D2C #2C7E8D #6C2C8D #8D3C2C
square
#4D8D2C #2C7E8D #6C2C8D #8D3C2C
split-complementary
#4D8D2C #3C2C8D #8D2C7E
monochromatic
#1A300F #345E1D #4D8D2C #66BC3B #89CF65

Accessibility & contrast

On white

4.07
#4D8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4D8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D2C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D2C#FFFFFF#000000##000000
##4D8D2C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#897C34
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d2c;
/* rgb */ color: rgb(77, 141, 44);
/* oklch */ color: oklch(58.0% 0.146 136.8);
Tailwind
colors: {
  custom: {
    50: '#84af6a',
    500: '#4d8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d2c;
$custom-light: #84af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d2c",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 99.588,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.14597,
    "h": 136.8
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#4D8D2C
secondary
#9860B5
accent
#4CDCAB
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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