#4D971D#4D971D

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

Color values

HEX#4D971D
RGBrgb(77, 151, 29)
HSLhsl(96, 68%, 35%)
HSVhsv(96, 81%, 59%)
CMYKcmyk(49%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.89, -43.62, 52.32)
CIE-LCHlch(55.89, 68.12, 129.82°)
OKLaboklab(60.52% -0.1215 0.1159)
OKLCHoklch(60.52% 0.168 136.4)
XYZxyz(14.3485, 23.7987, 4.9997)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971D #671D97
analogous
#8A971D #4D971D #1D972A
triadic
#4D971D #1D4D97 #971D4D
tetradic
#4D971D #1D8A97 #671D97 #972A1D
square
#4D971D #1D8A97 #671D97 #972A1D
split-complementary
#4D971D #2A1D97 #971D8A
monochromatic
#193009 #336413 #4D971D #67CA27 #88DE51

Accessibility & contrast

On white

3.65
#4D971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D971D#FFFFFF#000000##000000
##4D971D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d971d;
/* rgb */ color: rgb(77, 151, 29);
/* oklch */ color: oklch(60.5% 0.168 136.4);
Tailwind
colors: {
  custom: {
    50: '#86b664',
    500: '#4d971d',
    950: '#000000',
  },
}
SCSS
$custom: #4d971d;
$custom-light: #86b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971d",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 96.393,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.16791,
    "h": 136.4
  },
  "luminance": 0.238
}

Semantic roles & 50–950 ramp

primary
#4D971D
secondary
#944FC0
accent
#3DEBA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971D

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

Preview Lab → · Contrast checker → · Palette generator →

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