#4D8E17#4D8E17

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

Color values

HEX#4D8E17
RGBrgb(77, 142, 23)
HSLhsl(93, 72%, 32%)
HSVhsv(93, 84%, 56%)
CMYKcmyk(45.8%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.93, -40.25, 51.37)
CIE-LCHlch(52.93, 65.26, 128.08°)
OKLaboklab(58.09% -0.1128 0.113)
OKLCHoklch(58.09% 0.16 135)
XYZxyz(12.8879, 20.9849, 4.1818)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8E17 #58178E
analogous
#898E17 #4D8E17 #178E1C
triadic
#4D8E17 #174D8E #8E174D
tetradic
#4D8E17 #17898E #58178E #8E1C17
square
#4D8E17 #17898E #58178E #8E1C17
split-complementary
#4D8E17 #1C178E #8E1789
monochromatic
#142506 #30590E #4D8E17 #6AC320 #88E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8E17#FFFFFF#000000##000000
##4D8E171.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)
#8B7C26
Tritanopia (blue-blind)
#4B8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8e17;
/* rgb */ color: rgb(77, 142, 23);
/* oklch */ color: oklch(58.1% 0.160 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4d8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4d8e17;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8e17",
  "rgb": {
    "r": 77,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 92.773,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.15966,
    "h": 135
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#4D8E17
secondary
#8640C0
accent
#39EF9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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