#4D971C#4D971C

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

Color values

HEX#4D971C
RGBrgb(77, 151, 28)
HSLhsl(96, 69%, 35%)
HSVhsv(96, 81%, 59%)
CMYKcmyk(49%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.88, -43.67, 52.62)
CIE-LCHlch(55.88, 68.38, 129.69°)
OKLaboklab(60.52% -0.1217 0.1164)
OKLCHoklch(60.52% 0.168 136.3)
XYZxyz(14.3364, 23.7939, 4.9356)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D971C #661C97
analogous
#8A971C #4D971C #1C9729
triadic
#4D971C #1C4D97 #971C4D
tetradic
#4D971C #1C8A97 #661C97 #97291C
square
#4D971C #1C8A97 #661C97 #97291C
split-complementary
#4D971C #291C97 #971C8A
monochromatic
#183009 #336312 #4D971C #67CB26 #88DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D971C#FFFFFF#000000##000000
##4D971C1.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: #4d971c;
/* rgb */ color: rgb(77, 151, 28);
/* oklch */ color: oklch(60.5% 0.168 136.3);
Tailwind
colors: {
  custom: {
    50: '#86b664',
    500: '#4d971c',
    950: '#000000',
  },
}
SCSS
$custom: #4d971c;
$custom-light: #86b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4d971c",
  "rgb": {
    "r": 77,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 96.098,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.16839,
    "h": 136.3
  },
  "luminance": 0.23795
}

Semantic roles & 50–950 ramp

primary
#4D971C
secondary
#934EC1
accent
#3CECA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D971C

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

Preview Lab → · Contrast checker → · Palette generator →

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