#4D971A#4D971A

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

Color values

HEX#4D971A
RGBrgb(77, 151, 26)
HSLhsl(96, 71%, 35%)
HSVhsv(96, 83%, 59%)
CMYKcmyk(49%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.87, -43.78, 53.20)
CIE-LCHlch(55.87, 68.89, 129.45°)
OKLaboklab(60.51% -0.1221 0.1173)
OKLCHoklch(60.51% 0.169 136.2)
XYZxyz(14.3132, 23.7846, 4.8138)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971A #641A97
analogous
#8C971A #4D971A #1A9726
triadic
#4D971A #1A4D97 #971A4D
tetradic
#4D971A #1A8C97 #641A97 #97261A
square
#4D971A #1A8C97 #641A97 #97261A
split-complementary
#4D971A #261A97 #971A8C
monochromatic
#182F08 #326311 #4D971A #68CB23 #88E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D971A#FFFFFF#000000##000000
##4D971A1.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)
#9D8A00
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#4A9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d971a;
/* rgb */ color: rgb(77, 151, 26);
/* oklch */ color: oklch(60.5% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#86b663',
    500: '#4d971a',
    950: '#000000',
  },
}
SCSS
$custom: #4d971a;
$custom-light: #86b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971a",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 95.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60505,
    "c": 0.16929,
    "h": 136.2
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#4D971A
secondary
#914BC2
accent
#3AEDA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971A

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

Preview Lab → · Contrast checker → · Palette generator →

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