#4D971B#4D971B

#4D971B 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#4D971B
RGBrgb(77, 151, 27)
HSLhsl(96, 70%, 35%)
HSVhsv(96, 82%, 59%)
CMYKcmyk(49%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.88, -43.73, 52.91)
CIE-LCHlch(55.88, 68.64, 129.57°)
OKLaboklab(60.51% -0.1219 0.1168)
OKLCHoklch(60.51% 0.169 136.2)
XYZxyz(14.3246, 23.7892, 4.8736)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971B #651B97
analogous
#8B971B #4D971B #1B9727
triadic
#4D971B #1B4D97 #971B4D
tetradic
#4D971B #1B8B97 #651B97 #97271B
square
#4D971B #1B8B97 #651B97 #97271B
split-complementary
#4D971B #271B97 #971B8B
monochromatic
#182F08 #336312 #4D971B #67CB24 #88DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D971B#FFFFFF#000000##000000
##4D971B1.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)
#93842A
Tritanopia (blue-blind)
#499180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4d971b;
/* rgb */ color: rgb(77, 151, 27);
/* oklch */ color: oklch(60.5% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#86b663',
    500: '#4d971b',
    950: '#000000',
  },
}
SCSS
$custom: #4d971b;
$custom-light: #86b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971b",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 95.806,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.16885,
    "h": 136.2
  },
  "luminance": 0.2379
}

Semantic roles & 50–950 ramp

primary
#4D971B
secondary
#924CC1
accent
#3BECA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971B

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

Preview Lab → · Contrast checker → · Palette generator →

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