#4D8620#4D8620

#4D8620 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.145 H 134.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D8620
RGBrgb(77, 134, 32)
HSLhsl(94, 61%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(42.5%, 0%, 76.1%, 47.5%)
CIE-LABlab(50.37, -36.33, 46.02)
CIE-LCHlch(50.37, 58.63, 128.29°)
OKLaboklab(56% -0.1017 0.1032)
OKLCHoklch(56% 0.145 134.6)
XYZxyz(11.8461, 18.7316, 4.3576)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8620 #592086
analogous
#808620 #4D8620 #208626
triadic
#4D8620 #204D86 #86204D
tetradic
#4D8620 #208086 #592086 #862620
square
#4D8620 #208086 #592086 #862620
split-complementary
#4D8620 #262086 #862080
monochromatic
#142308 #315514 #4D8620 #69B72C #88D44C

Accessibility & contrast

On white

4.42
#4D8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4D8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8620
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8620#FFFFFF#000000##000000
##4D86201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#4C8172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8620;
/* rgb */ color: rgb(77, 134, 32);
/* oklch */ color: oklch(56.0% 0.145 134.6);
Tailwind
colors: {
  custom: {
    50: '#84aa63',
    500: '#4d8620',
    950: '#000000',
  },
}
SCSS
$custom: #4d8620;
$custom-light: #84aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8620",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 93.529,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.14485,
    "h": 134.6
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#4D8620
secondary
#874BB7
accent
#43E59D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8620

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

Preview Lab → · Contrast checker → · Palette generator →

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