#4D9D1C#4D9D1C

#4D9D1C is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.1% C 0.176 H 136.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D9D1C
RGBrgb(77, 157, 28)
HSLhsl(97, 70%, 36%)
HSVhsv(97, 82%, 62%)
CMYKcmyk(51%, 0%, 82.2%, 38.4%)
CIE-LABlab(57.82, -46.05, 54.41)
CIE-LCHlch(57.82, 71.28, 130.24°)
OKLaboklab(62.11% -0.1281 0.1201)
OKLCHoklch(62.11% 0.176 136.8)
XYZxyz(15.3267, 25.7745, 5.2657)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D1C #6C1C9D
analogous
#8E9D1C #4D9D1C #1C9D2B
triadic
#4D9D1C #1C4D9D #9D1C4D
tetradic
#4D9D1C #1C8E9D #6C1C9D #9D2B1C
square
#4D9D1C #1C8E9D #6C1C9D #9D2B1C
split-complementary
#4D9D1C #2B1C9D #9D1C8E
monochromatic
#1A3509 #346913 #4D9D1C #66D125 #89E053

Accessibility & contrast

On white

3.41
#4D9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4D9D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D1C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D1C#FFFFFF#000000##000000
##4D9D1C1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#489786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d1c;
/* rgb */ color: rgb(77, 157, 28);
/* oklch */ color: oklch(62.1% 0.176 136.8);
Tailwind
colors: {
  custom: {
    50: '#87bb65',
    500: '#4d9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d1c;
$custom-light: #87bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d1c",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 97.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.1756,
    "h": 136.8
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#4D9D1C
secondary
#9851C3
accent
#3BEDA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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