#4D871D#4D871D

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

Color values

HEX#4D871D
RGBrgb(77, 135, 29)
HSLhsl(93, 65%, 32%)
HSVhsv(93, 79%, 53%)
CMYKcmyk(43%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.68, -36.96, 47.40)
CIE-LCHlch(50.68, 60.10, 127.95°)
OKLaboklab(56.25% -0.1036 0.1056)
OKLCHoklch(56.25% 0.148 134.5)
XYZxyz(11.9461, 18.9938, 4.1989)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D871D #571D87
analogous
#82871D #4D871D #1D8722
triadic
#4D871D #1D4D87 #871D4D
tetradic
#4D871D #1D8287 #571D87 #87221D
square
#4D871D #1D8287 #571D87 #87221D
split-complementary
#4D871D #221D87 #871D82
monochromatic
#142207 #305512 #4D871D #6AB928 #88D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D871D#FFFFFF#000000##000000
##4D871D1.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)
#8C7C03
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#4C8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d871d;
/* rgb */ color: rgb(77, 135, 29);
/* oklch */ color: oklch(56.2% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#84aa62',
    500: '#4d871d',
    950: '#000000',
  },
}
SCSS
$custom: #4d871d;
$custom-light: #84aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4d871d",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 92.83,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.1479,
    "h": 134.5
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#4D871D
secondary
#8546B9
accent
#40E89C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D871D

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

Preview Lab → · Contrast checker → · Palette generator →

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