#4D871C#4D871C

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

Color values

HEX#4D871C
RGBrgb(77, 135, 28)
HSLhsl(93, 66%, 32%)
HSVhsv(93, 79%, 53%)
CMYKcmyk(43%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.67, -37.02, 47.73)
CIE-LCHlch(50.67, 60.40, 127.80°)
OKLaboklab(56.24% -0.1038 0.1061)
OKLCHoklch(56.24% 0.148 134.4)
XYZxyz(11.9339, 18.9889, 4.1348)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D871C #561C87
analogous
#83871C #4D871C #1C8720
triadic
#4D871C #1C4D87 #871C4D
tetradic
#4D871C #1C8387 #561C87 #87201C
square
#4D871C #1C8387 #561C87 #87201C
split-complementary
#4D871C #201C87 #871C83
monochromatic
#132207 #305411 #4D871C #6ABA27 #89D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d871c;
/* rgb */ color: rgb(77, 135, 28);
/* oklch */ color: oklch(56.2% 0.148 134.4);
Tailwind
colors: {
  custom: {
    50: '#84aa61',
    500: '#4d871c',
    950: '#000000',
  },
}
SCSS
$custom: #4d871c;
$custom-light: #84aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d871c",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 92.523,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.14845,
    "h": 134.4
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#4D871C
secondary
#8445BA
accent
#3FE99B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D871C

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

Preview Lab → · Contrast checker → · Palette generator →

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