#4D9C28#4D9C28

#4D9C28 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.9% C 0.168 H 137.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4D9C28
RGBrgb(77, 156, 40)
HSLhsl(101, 59%, 38%)
HSVhsv(101, 74%, 61%)
CMYKcmyk(50.6%, 0%, 74.4%, 38.8%)
CIE-LABlab(57.57, -44.92, 50.22)
CIE-LCHlch(57.57, 67.37, 131.81°)
OKLaboklab(61.92% -0.1243 0.1131)
OKLCHoklch(61.92% 0.168 137.7)
XYZxyz(15.3315, 25.5068, 6.1225)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9C28 #77289C
analogous
#879C28 #4D9C28 #289C3D
triadic
#4D9C28 #284D9C #9C284D
tetradic
#4D9C28 #28879C #77289C #9C3D28
square
#4D9C28 #28879C #77289C #9C3D28
split-complementary
#4D9C28 #3D289C #9C2887
monochromatic
#1D3B0F #356B1C #4D9C28 #66CB36 #8BD867

Accessibility & contrast

On white

3.44
#4D9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4D9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9C28
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9C28#FFFFFF#000000##000000
##4D9C281.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E12
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#479686
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4d9c28;
/* rgb */ color: rgb(77, 156, 40);
/* oklch */ color: oklch(61.9% 0.168 137.7);
Tailwind
colors: {
  custom: {
    50: '#87ba6a',
    500: '#4d9c28',
    950: '#000000',
  },
}
SCSS
$custom: #4d9c28;
$custom-light: #87ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9c28",
  "rgb": {
    "r": 77,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 100.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61924,
    "c": 0.16807,
    "h": 137.7
  },
  "luminance": 0.25508
}

Semantic roles & 50–950 ramp

primary
#4D9C28
secondary
#A162BE
accent
#45E2B0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4D9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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