#4D8E13#4D8E13

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

Color values

HEX#4D8E13
RGBrgb(77, 142, 19)
HSLhsl(92, 76%, 32%)
HSVhsv(92, 87%, 56%)
CMYKcmyk(45.8%, 0%, 86.6%, 44.3%)
CIE-LABlab(52.92, -40.43, 52.41)
CIE-LCHlch(52.92, 66.19, 127.65°)
OKLaboklab(58.07% -0.1135 0.1146)
OKLCHoklch(58.07% 0.161 134.7)
XYZxyz(12.8508, 20.9700, 3.9864)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E13 #54138E
analogous
#8B8E13 #4D8E13 #138E16
triadic
#4D8E13 #134D8E #8E134D
tetradic
#4D8E13 #138B8E #54138E #8E1613
square
#4D8E13 #138B8E #54138E #8E1613
split-complementary
#4D8E13 #16138E #8E138B
monochromatic
#122205 #30580C #4D8E13 #6AC41A #89E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d8e13;
/* rgb */ color: rgb(77, 142, 19);
/* oklch */ color: oklch(58.1% 0.161 134.7);
Tailwind
colors: {
  custom: {
    50: '#86af5f',
    500: '#4d8e13',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e13;
$custom-light: #86af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e13",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 91.707,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.16128,
    "h": 134.7
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#4D8E13
secondary
#823BC2
accent
#35F399
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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