#4D971F#4D971F

#4D971F is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.5% C 0.167 H 136.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D971F
RGBrgb(77, 151, 31)
HSLhsl(97, 66%, 36%)
HSVhsv(97, 79%, 59%)
CMYKcmyk(49%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.90, -43.51, 51.70)
CIE-LCHlch(55.90, 67.57, 130.08°)
OKLaboklab(60.53% -0.1211 0.1149)
OKLCHoklch(60.53% 0.167 136.5)
XYZxyz(14.3741, 23.8090, 5.1342)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971F #691F97
analogous
#89971F #4D971F #1F972D
triadic
#4D971F #1F4D97 #971F4D
tetradic
#4D971F #1F8997 #691F97 #972D1F
square
#4D971F #1F8997 #691F97 #972D1F
split-complementary
#4D971F #2D1F97 #971F89
monochromatic
#19310A #336415 #4D971F #67CA29 #88DC54

Accessibility & contrast

On white

3.64
#4D971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4D971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D971F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D971F#FFFFFF#000000##000000
##4D971F1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#499181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d971f;
/* rgb */ color: rgb(77, 151, 31);
/* oklch */ color: oklch(60.5% 0.167 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b665',
    500: '#4d971f',
    950: '#000000',
  },
}
SCSS
$custom: #4d971f;
$custom-light: #86b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971f",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 97,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.16692,
    "h": 136.5
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#4D971F
secondary
#9652BF
accent
#3FE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971F

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

Preview Lab → · Contrast checker → · Palette generator →

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