#4D8E14#4D8E14

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

Color values

HEX#4D8E14
RGBrgb(77, 142, 20)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 86%, 56%)
CMYKcmyk(45.8%, 0%, 85.9%, 44.3%)
CIE-LABlab(52.92, -40.39, 52.16)
CIE-LCHlch(52.92, 65.97, 127.75°)
OKLaboklab(58.07% -0.1133 0.1142)
OKLCHoklch(58.07% 0.161 134.8)
XYZxyz(12.8596, 20.9735, 4.0324)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E14 #55148E
analogous
#8A8E14 #4D8E14 #148E18
triadic
#4D8E14 #144D8E #8E144D
tetradic
#4D8E14 #148A8E #55148E #8E1814
square
#4D8E14 #148A8E #55148E #8E1814
split-complementary
#4D8E14 #18148E #8E148A
monochromatic
#132305 #30580C #4D8E14 #6AC41C #89E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8E14#FFFFFF#000000##000000
##4D8E141.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)
#8B7C24
Tritanopia (blue-blind)
#4B8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e14;
/* rgb */ color: rgb(77, 142, 20);
/* oklch */ color: oklch(58.1% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af5f',
    500: '#4d8e14',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e14;
$custom-light: #86af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e14",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 91.967,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.1609,
    "h": 134.8
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#4D8E14
secondary
#833CC2
accent
#36F29A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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