#4D871A#4D871A

#4D871A is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.149 H 134.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D871A
RGBrgb(77, 135, 26)
HSLhsl(92, 68%, 32%)
HSVhsv(92, 81%, 53%)
CMYKcmyk(43%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.66, -37.13, 48.38)
CIE-LCHlch(50.66, 60.99, 127.51°)
OKLaboklab(56.23% -0.1043 0.1072)
OKLCHoklch(56.23% 0.15 134.2)
XYZxyz(11.9108, 18.9797, 4.0129)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D871A #541A87
analogous
#84871A #4D871A #1A871E
triadic
#4D871A #1A4D87 #871A4D
tetradic
#4D871A #1A8487 #541A87 #871E1A
square
#4D871A #1A8487 #541A87 #871E1A
split-complementary
#4D871A #1E1A87 #871A84
monochromatic
#122006 #305410 #4D871A #6ABA24 #89DA41

Accessibility & contrast

On white

4.38
#4D871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D871A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D871A#FFFFFF#000000##000000
##4D871A1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d871a;
/* rgb */ color: rgb(77, 135, 26);
/* oklch */ color: oklch(56.2% 0.149 134.2);
Tailwind
colors: {
  custom: {
    50: '#84aa60',
    500: '#4d871a',
    950: '#000000',
  },
}
SCSS
$custom: #4d871a;
$custom-light: #84aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d871a",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 91.927,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.1495,
    "h": 134.2
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#4D871A
secondary
#8242BA
accent
#3DEB99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D871A

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

Preview Lab → · Contrast checker → · Palette generator →

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