#4D8927#4D8927

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

Color values

HEX#4D8927
RGBrgb(77, 137, 39)
HSLhsl(97, 56%, 35%)
HSVhsv(97, 72%, 54%)
CMYKcmyk(43.8%, 0%, 71.5%, 46.3%)
CIE-LABlab(51.40, -37.11, 44.33)
CIE-LCHlch(51.40, 57.82, 129.94°)
OKLaboklab(56.86% -0.1033 0.1007)
OKLCHoklch(56.86% 0.144 135.7)
XYZxyz(12.3721, 19.6149, 5.0532)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8927 #632789
analogous
#7E8927 #4D8927 #278932
triadic
#4D8927 #274D89 #89274D
tetradic
#4D8927 #277E89 #632789 #893227
square
#4D8927 #277E89 #632789 #893227
split-complementary
#4D8927 #322789 #89277E
monochromatic
#172A0C #325919 #4D8927 #68B935 #88D05A

Accessibility & contrast

On white

4.27
#4D8927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8927#FFFFFF#000000##000000
##4D89271.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E18
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8927;
/* rgb */ color: rgb(77, 137, 39);
/* oklch */ color: oklch(56.9% 0.144 135.7);
Tailwind
colors: {
  custom: {
    50: '#84ac67',
    500: '#4d8927',
    950: '#000000',
  },
}
SCSS
$custom: #4d8927;
$custom-light: #84ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8927",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 96.735,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.14422,
    "h": 135.7
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#4D8927
secondary
#9057B5
accent
#49DFA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8927

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

Preview Lab → · Contrast checker → · Palette generator →

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