#4D8520#4D8520

#4D8520 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.7% C 0.144 H 134.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D8520
RGBrgb(77, 133, 32)
HSLhsl(93, 61%, 32%)
HSVhsv(93, 76%, 52%)
CMYKcmyk(42.1%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.05, -35.89, 45.70)
CIE-LCHlch(50.05, 58.11, 128.14°)
OKLaboklab(55.73% -0.1005 0.1025)
OKLCHoklch(55.73% 0.144 134.4)
XYZxyz(11.7086, 18.4565, 4.3117)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8520 #582085
analogous
#808520 #4D8520 #208525
triadic
#4D8520 #204D85 #85204D
tetradic
#4D8520 #208085 #582085 #852520
square
#4D8520 #208085 #582085 #852520
split-complementary
#4D8520 #252085 #852080
monochromatic
#142208 #305414 #4D8520 #6AB62C #88D44C

Accessibility & contrast

On white

4.48
#4D8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4D8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8520
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8520#FFFFFF#000000##000000
##4D85201.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#4C8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d8520;
/* rgb */ color: rgb(77, 133, 32);
/* oklch */ color: oklch(55.7% 0.144 134.4);
Tailwind
colors: {
  custom: {
    50: '#84a963',
    500: '#4d8520',
    950: '#000000',
  },
}
SCSS
$custom: #4d8520;
$custom-light: #84a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8520",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 93.267,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.14354,
    "h": 134.4
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#4D8520
secondary
#864AB7
accent
#43E49D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8520

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

Preview Lab → · Contrast checker → · Palette generator →

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