#4D8928#4D8928

#4D8928 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.144 H 135.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D8928
RGBrgb(77, 137, 40)
HSLhsl(97, 55%, 35%)
HSVhsv(97, 71%, 54%)
CMYKcmyk(43.8%, 0%, 70.8%, 46.3%)
CIE-LABlab(51.41, -37.03, 43.93)
CIE-LCHlch(51.41, 57.46, 130.13°)
OKLaboklab(56.87% -0.103 0.1)
OKLCHoklch(56.87% 0.144 135.9)
XYZxyz(12.3889, 19.6216, 5.1416)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8928 #642889
analogous
#7E8928 #4D8928 #288933
triadic
#4D8928 #284D89 #89284D
tetradic
#4D8928 #287E89 #642889 #893328
square
#4D8928 #287E89 #642889 #893328
split-complementary
#4D8928 #332889 #89287E
monochromatic
#182A0C #325A1A #4D8928 #68B836 #88CF5C

Accessibility & contrast

On white

4.26
#4D8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4D8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8928
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8928#FFFFFF#000000##000000
##4D89281.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#4B8476
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8928;
/* rgb */ color: rgb(77, 137, 40);
/* oklch */ color: oklch(56.9% 0.144 135.9);
Tailwind
colors: {
  custom: {
    50: '#84ac68',
    500: '#4d8928',
    950: '#000000',
  },
}
SCSS
$custom: #4d8928;
$custom-light: #84ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8928",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 97.113,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.14351,
    "h": 135.9
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#4D8928
secondary
#9158B5
accent
#4ADEA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8928

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

Preview Lab → · Contrast checker → · Palette generator →

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