#4D971E#4D971E

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

Color values

HEX#4D971E
RGBrgb(77, 151, 30)
HSLhsl(97, 67%, 35%)
HSVhsv(97, 80%, 59%)
CMYKcmyk(49%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.89, -43.56, 52.02)
CIE-LCHlch(55.89, 67.85, 129.95°)
OKLaboklab(60.53% -0.1213 0.1154)
OKLCHoklch(60.53% 0.167 136.4)
XYZxyz(14.3611, 23.8038, 5.0659)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971E #681E97
analogous
#89971E #4D971E #1E972B
triadic
#4D971E #1E4D97 #971E4D
tetradic
#4D971E #1E8997 #681E97 #972B1E
square
#4D971E #1E8997 #681E97 #972B1E
split-complementary
#4D971E #2B1E97 #971E89
monochromatic
#19310A #336414 #4D971E #67CA28 #88DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D971E#FFFFFF#000000##000000
##4D971E1.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)
#93842C
Tritanopia (blue-blind)
#499181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d971e;
/* rgb */ color: rgb(77, 151, 30);
/* oklch */ color: oklch(60.5% 0.167 136.4);
Tailwind
colors: {
  custom: {
    50: '#86b665',
    500: '#4d971e',
    950: '#000000',
  },
}
SCSS
$custom: #4d971e;
$custom-light: #86b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971e",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 96.694,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.16742,
    "h": 136.4
  },
  "luminance": 0.23805
}

Semantic roles & 50–950 ramp

primary
#4D971E
secondary
#9551C0
accent
#3EEAA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971E

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

Preview Lab → · Contrast checker → · Palette generator →

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