#4D9B1C#4D9B1C

#4D9B1C is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.6% C 0.173 H 136.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4D9B1C
RGBrgb(77, 155, 28)
HSLhsl(97, 69%, 36%)
HSVhsv(97, 82%, 61%)
CMYKcmyk(50.3%, 0%, 81.9%, 39.2%)
CIE-LABlab(57.18, -45.27, 53.82)
CIE-LCHlch(57.18, 70.32, 130.07°)
OKLaboklab(61.58% -0.126 0.1189)
OKLCHoklch(61.58% 0.173 136.7)
XYZxyz(14.9911, 25.1033, 5.1539)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9B1C #6A1C9B
analogous
#8C9B1C #4D9B1C #1C9B2A
triadic
#4D9B1C #1C4D9B #9B1C4D
tetradic
#4D9B1C #1C8C9B #6A1C9B #9B2A1C
square
#4D9B1C #1C8C9B #6A1C9B #9B2A1C
split-complementary
#4D9B1C #2A1C9B #9B1C8C
monochromatic
#193309 #336713 #4D9B1C #67CF25 #88E052

Accessibility & contrast

On white

3.49
#4D9B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#4D9B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9B1C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9B1C#FFFFFF#000000##000000
##4D9B1C1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#499584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4d9b1c;
/* rgb */ color: rgb(77, 155, 28);
/* oklch */ color: oklch(61.6% 0.173 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b964',
    500: '#4d9b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4d9b1c;
$custom-light: #87b964;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9b1c",
  "rgb": {
    "r": 77,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 96.85,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61582,
    "c": 0.17321,
    "h": 136.7
  },
  "luminance": 0.25104
}

Semantic roles & 50–950 ramp

primary
#4D9B1C
secondary
#9650C3
accent
#3CECA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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