#4D8A1A#4D8A1A

#4D8A1A is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.153 H 134.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A1A
RGBrgb(77, 138, 26)
HSLhsl(93, 68%, 32%)
HSVhsv(93, 81%, 54%)
CMYKcmyk(44.2%, 0%, 81.2%, 45.9%)
CIE-LABlab(51.64, -38.42, 49.30)
CIE-LCHlch(51.64, 62.50, 127.93°)
OKLaboklab(57.03% -0.1077 0.1091)
OKLCHoklch(57.03% 0.153 134.6)
XYZxyz(12.3352, 19.8286, 4.1544)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A1A #571A8A
analogous
#858A1A #4D8A1A #1A8A1F
triadic
#4D8A1A #1A4D8A #8A1A4D
tetradic
#4D8A1A #1A858A #571A8A #8A1F1A
square
#4D8A1A #1A858A #571A8A #8A1F1A
split-complementary
#4D8A1A #1F1A8A #8A1A85
monochromatic
#142307 #305710 #4D8A1A #6ABD24 #88DC43

Accessibility & contrast

On white

4.23
#4D8A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A1A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A1A#FFFFFF#000000##000000
##4D8A1A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a1a;
/* rgb */ color: rgb(77, 138, 26);
/* oklch */ color: oklch(57.0% 0.153 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ac61',
    500: '#4d8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a1a;
$custom-light: #85ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a1a",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 92.679,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.1533,
    "h": 134.6
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#4D8A1A
secondary
#8543BD
accent
#3DEB9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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