#4D8926#4D8926

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

Color values

HEX#4D8926
RGBrgb(77, 137, 38)
HSLhsl(96, 57%, 34%)
HSVhsv(96, 72%, 54%)
CMYKcmyk(43.8%, 0%, 72.3%, 46.3%)
CIE-LABlab(51.39, -37.19, 44.73)
CIE-LCHlch(51.39, 58.17, 129.74°)
OKLaboklab(56.85% -0.1036 0.1014)
OKLCHoklch(56.85% 0.145 135.6)
XYZxyz(12.3558, 19.6083, 4.9671)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8926 #622689
analogous
#7F8926 #4D8926 #268931
triadic
#4D8926 #264D89 #89264D
tetradic
#4D8926 #267F89 #622689 #893126
square
#4D8926 #267F89 #622689 #893126
split-complementary
#4D8926 #312689 #89267F
monochromatic
#17290B #325919 #4D8926 #68B933 #88D159

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8926#FFFFFF#000000##000000
##4D89261.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)
#8E7E16
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8926;
/* rgb */ color: rgb(77, 137, 38);
/* oklch */ color: oklch(56.9% 0.145 135.6);
Tailwind
colors: {
  custom: {
    50: '#84ac67',
    500: '#4d8926',
    950: '#000000',
  },
}
SCSS
$custom: #4d8926;
$custom-light: #84ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8926",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 96.364,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.14491,
    "h": 135.6
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#4D8926
secondary
#9055B6
accent
#48E0A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8926

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

Preview Lab → · Contrast checker → · Palette generator →

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