#4D8E15#4D8E15

#4D8E15 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.20:1 contrast (WCAG AA passes).

Color values

HEX#4D8E15
RGBrgb(77, 142, 21)
HSLhsl(92, 74%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(45.8%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.92, -40.34, 51.91)
CIE-LCHlch(52.92, 65.74, 127.85°)
OKLaboklab(58.08% -0.1132 0.1138)
OKLCHoklch(58.08% 0.161 134.8)
XYZxyz(12.8687, 20.9772, 4.0802)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E15 #56158E
analogous
#8A8E15 #4D8E15 #158E19
triadic
#4D8E15 #154D8E #8E154D
tetradic
#4D8E15 #158A8E #56158E #8E1915
square
#4D8E15 #158A8E #56158E #8E1915
split-complementary
#4D8E15 #19158E #8E158A
monochromatic
#132305 #30590D #4D8E15 #6AC31D #89E23B

Accessibility & contrast

On white

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

On black

5.20
#4D8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8E15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8E15#FFFFFF#000000##000000
##4D8E151.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8e15;
/* rgb */ color: rgb(77, 142, 21);
/* oklch */ color: oklch(58.1% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4d8e15',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e15;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e15",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 92.231,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.1605,
    "h": 134.8
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#4D8E15
secondary
#843DC2
accent
#37F19B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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