#4D8E11#4D8E11

#4D8E11 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.162 H 134.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4D8E11
RGBrgb(77, 142, 17)
HSLhsl(91, 79%, 31%)
HSVhsv(91, 88%, 56%)
CMYKcmyk(45.8%, 0%, 88%, 44.3%)
CIE-LABlab(52.91, -40.51, 52.88)
CIE-LCHlch(52.91, 66.61, 127.45°)
OKLaboklab(58.06% -0.1138 0.1153)
OKLCHoklch(58.06% 0.162 134.6)
XYZxyz(12.8345, 20.9635, 3.9003)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E11 #52118E
analogous
#8B8E11 #4D8E11 #118E13
triadic
#4D8E11 #114D8E #8E114D
tetradic
#4D8E11 #118B8E #52118E #8E1311
square
#4D8E11 #118B8E #52118E #8E1311
split-complementary
#4D8E11 #13118E #8E118B
monochromatic
#122104 #2F570A #4D8E11 #6BC518 #89E733

Accessibility & contrast

On white

4.04
#4D8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4D8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E11
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E11#FFFFFF#000000##000000
##4D8E111.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#4C8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e11;
/* rgb */ color: rgb(77, 142, 17);
/* oklch */ color: oklch(58.1% 0.162 134.6);
Tailwind
colors: {
  custom: {
    50: '#86af5e',
    500: '#4d8e11',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e11;
$custom-light: #86af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e11",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 91.2,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.162,
    "h": 134.6
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

primary
#4D8E11
secondary
#8038C2
accent
#33F598
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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