#4D9B1F#4D9B1F

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

Color values

HEX#4D9B1F
RGBrgb(77, 155, 31)
HSLhsl(98, 67%, 36%)
HSVhsv(98, 80%, 61%)
CMYKcmyk(50.3%, 0%, 80%, 39.2%)
CIE-LABlab(57.19, -45.10, 52.93)
CIE-LCHlch(57.19, 69.54, 130.44°)
OKLaboklab(61.6% -0.1254 0.1175)
OKLCHoklch(61.6% 0.172 136.9)
XYZxyz(15.0288, 25.1183, 5.3525)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9B1F #6D1F9B
analogous
#8B9B1F #4D9B1F #1F9B2F
triadic
#4D9B1F #1F4D9B #9B1F4D
tetradic
#4D9B1F #1F8B9B #6D1F9B #9B2F1F
square
#4D9B1F #1F8B9B #6D1F9B #9B2F1F
split-complementary
#4D9B1F #2F1F9B #9B1F8B
monochromatic
#1A350B #346815 #4D9B1F #66CE29 #89DD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D9B1F#FFFFFF#000000##000000
##4D9B1F1.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)
#96872D
Tritanopia (blue-blind)
#489584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4d9b1f;
/* rgb */ color: rgb(77, 155, 31);
/* oklch */ color: oklch(61.6% 0.172 136.9);
Tailwind
colors: {
  custom: {
    50: '#87b966',
    500: '#4d9b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4d9b1f;
$custom-light: #87b966;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9b1f",
  "rgb": {
    "r": 77,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 97.742,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.17179,
    "h": 136.9
  },
  "luminance": 0.25119
}

Semantic roles & 50–950 ramp

primary
#4D9B1F
secondary
#9955C1
accent
#3EEAAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D9B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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