#4D9F1F#4D9F1F

#4D9F1F is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.7% C 0.177 H 137.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D9F1F
RGBrgb(77, 159, 31)
HSLhsl(98, 67%, 37%)
HSVhsv(98, 81%, 62%)
CMYKcmyk(51.6%, 0%, 80.5%, 37.6%)
CIE-LABlab(58.48, -46.67, 54.14)
CIE-LCHlch(58.48, 71.48, 130.76°)
OKLaboklab(62.66% -0.1296 0.12)
OKLCHoklch(62.66% 0.177 137.2)
XYZxyz(15.7055, 26.4718, 5.5780)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9F1F #711F9F
analogous
#8D9F1F #4D9F1F #1F9F31
triadic
#4D9F1F #1F4D9F #9F1F4D
tetradic
#4D9F1F #1F8D9F #711F9F #9F311F
square
#4D9F1F #1F8D9F #711F9F #9F311F
split-complementary
#4D9F1F #311F9F #9F1F8D
monochromatic
#1B390B #346C15 #4D9F1F #66D229 #89DF5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D9F1F#FFFFFF#000000##000000
##4D9F1F1.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)
#A49100
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#489987
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4d9f1f;
/* rgb */ color: rgb(77, 159, 31);
/* oklch */ color: oklch(62.7% 0.177 137.2);
Tailwind
colors: {
  custom: {
    50: '#87bc66',
    500: '#4d9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4d9f1f;
$custom-light: #87bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9f1f",
  "rgb": {
    "r": 77,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 98.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62662,
    "c": 0.1766,
    "h": 137.2
  },
  "luminance": 0.26473
}

Semantic roles & 50–950 ramp

primary
#4D9F1F
secondary
#9C57C3
accent
#3EEAAC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4D9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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