#4D9F17#4D9F17

#4D9F17 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.6% C 0.180 H 136.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D9F17
RGBrgb(77, 159, 23)
HSLhsl(96, 75%, 36%)
HSVhsv(96, 86%, 62%)
CMYKcmyk(51.6%, 0%, 85.5%, 37.6%)
CIE-LABlab(58.45, -47.06, 56.31)
CIE-LCHlch(58.45, 73.39, 129.89°)
OKLaboklab(62.62% -0.131 0.1234)
OKLCHoklch(62.62% 0.18 136.7)
XYZxyz(15.6129, 26.4348, 5.0902)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9F17 #69179F
analogous
#919F17 #4D9F17 #179F25
triadic
#4D9F17 #174D9F #9F174D
tetradic
#4D9F17 #17919F #69179F #9F2517
square
#4D9F17 #17919F #69179F #9F2517
split-complementary
#4D9F17 #25179F #9F1791
monochromatic
#193408 #336A0F #4D9F17 #67D41F #88E54B

Accessibility & contrast

On white

3.34
#4D9F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#4D9F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9F17
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9F17#FFFFFF#000000##000000
##4D9F171.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#489987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4d9f17;
/* rgb */ color: rgb(77, 159, 23);
/* oklch */ color: oklch(62.6% 0.180 136.7);
Tailwind
colors: {
  custom: {
    50: '#88bc63',
    500: '#4d9f17',
    950: '#000000',
  },
}
SCSS
$custom: #4d9f17;
$custom-light: #88bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9f17",
  "rgb": {
    "r": 77,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 96.176,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.18,
    "h": 136.7
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#4D9F17
secondary
#964BC7
accent
#36F1A7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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