#4D8922#4D8922

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

Color values

HEX#4D8922
RGBrgb(77, 137, 34)
HSLhsl(95, 60%, 34%)
HSVhsv(95, 75%, 54%)
CMYKcmyk(43.8%, 0%, 75.2%, 46.3%)
CIE-LABlab(51.36, -37.49, 46.26)
CIE-LCHlch(51.36, 59.54, 129.02°)
OKLaboklab(56.82% -0.1047 0.104)
OKLCHoklch(56.82% 0.148 135.2)
XYZxyz(12.2947, 19.5839, 4.6453)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8922 #5E2289
analogous
#808922 #4D8922 #22892A
triadic
#4D8922 #224D89 #89224D
tetradic
#4D8922 #228089 #5E2289 #892A22
square
#4D8922 #228089 #5E2289 #892A22
split-complementary
#4D8922 #2A2289 #892280
monochromatic
#16270A #315816 #4D8922 #69BA2E #88D451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8922#FFFFFF#000000##000000
##4D89221.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)
#8E7D0E
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#4B8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d8922;
/* rgb */ color: rgb(77, 137, 34);
/* oklch */ color: oklch(56.8% 0.148 135.2);
Tailwind
colors: {
  custom: {
    50: '#84ac64',
    500: '#4d8922',
    950: '#000000',
  },
}
SCSS
$custom: #4d8922;
$custom-light: #84ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8922",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 94.951,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.14752,
    "h": 135.2
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#4D8922
secondary
#8C4FB8
accent
#44E3A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8922

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

Preview Lab → · Contrast checker → · Palette generator →

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