#4D8D2A#4D8D2A

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

Color values

HEX#4D8D2A
RGBrgb(77, 141, 42)
HSLhsl(99, 54%, 36%)
HSVhsv(99, 70%, 55%)
CMYKcmyk(45.4%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.72, -38.59, 44.47)
CIE-LCHlch(52.72, 58.88, 130.94°)
OKLaboklab(57.95% -0.107 0.1014)
OKLCHoklch(57.95% 0.147 136.6)
XYZxyz(13.0030, 20.7939, 5.5185)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D2A #6A2A8D
analogous
#7E8D2A #4D8D2A #2A8D38
triadic
#4D8D2A #2A4D8D #8D2A4D
tetradic
#4D8D2A #2A7E8D #6A2A8D #8D382A
square
#4D8D2A #2A7E8D #6A2A8D #8D382A
split-complementary
#4D8D2A #382A8D #8D2A7E
monochromatic
#192F0E #335E1C #4D8D2A #67BC38 #88D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D2A#FFFFFF#000000##000000
##4D8D2A1.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)
#92811B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#4A8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d2a;
/* rgb */ color: rgb(77, 141, 42);
/* oklch */ color: oklch(58.0% 0.147 136.6);
Tailwind
colors: {
  custom: {
    50: '#84af69',
    500: '#4d8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d2a;
$custom-light: #84af69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d2a",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 98.788,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.14743,
    "h": 136.6
  },
  "luminance": 0.20795
}

Semantic roles & 50–950 ramp

primary
#4D8D2A
secondary
#965DB6
accent
#4ADDA9
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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