#4D8A2D#4D8A2D

#4D8A2D is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.141 H 136.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4D8A2D
RGBrgb(77, 138, 45)
HSLhsl(99, 51%, 36%)
HSVhsv(99, 67%, 54%)
CMYKcmyk(44.2%, 0%, 67.4%, 45.9%)
CIE-LABlab(51.77, -37.03, 42.18)
CIE-LCHlch(51.77, 56.13, 131.28°)
OKLaboklab(57.18% -0.1026 0.0969)
OKLCHoklch(57.18% 0.141 136.6)
XYZxyz(12.6223, 19.9435, 5.6665)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A2D #6A2D8A
analogous
#7B8A2D #4D8A2D #2D8A3B
triadic
#4D8A2D #2D4D8A #8A2D4D
tetradic
#4D8A2D #2D7B8A #6A2D8A #8A3B2D
square
#4D8A2D #2D7B8A #6A2D8A #8A3B2D
split-complementary
#4D8A2D #3B2D8A #8A2D7B
monochromatic
#192E0F #335C1E #4D8A2D #67B83C #88CD65

Accessibility & contrast

On white

4.21
#4D8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4D8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A2D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A2D#FFFFFF#000000##000000
##4D8A2D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#4A8577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a2d;
/* rgb */ color: rgb(77, 138, 45);
/* oklch */ color: oklch(57.2% 0.141 136.6);
Tailwind
colors: {
  custom: {
    50: '#84ac6b',
    500: '#4d8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a2d;
$custom-light: #84ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a2d",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 99.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.14115,
    "h": 136.6
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#4D8A2D
secondary
#9660B3
accent
#4DDAAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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