#4D981C#4D981C

#4D981C is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.170 H 136.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4D981C
RGBrgb(77, 152, 28)
HSLhsl(96, 69%, 35%)
HSVhsv(96, 82%, 60%)
CMYKcmyk(49.3%, 0%, 81.6%, 40.4%)
CIE-LABlab(56.20, -44.07, 52.92)
CIE-LCHlch(56.20, 68.87, 129.79°)
OKLaboklab(60.78% -0.1228 0.117)
OKLCHoklch(60.78% 0.17 136.4)
XYZxyz(14.4980, 24.1171, 4.9895)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D981C #671C98
analogous
#8B981C #4D981C #1C9829
triadic
#4D981C #1C4D98 #981C4D
tetradic
#4D981C #1C8B98 #671C98 #98291C
square
#4D981C #1C8B98 #671C98 #98291C
split-complementary
#4D981C #291C98 #981C8B
monochromatic
#193109 #336412 #4D981C #67CC26 #88DF50

Accessibility & contrast

On white

3.61
#4D981C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#4D981C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D981C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D981C#FFFFFF#000000##000000
##4D981C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#94842B
Tritanopia (blue-blind)
#499281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d981c;
/* rgb */ color: rgb(77, 152, 28);
/* oklch */ color: oklch(60.8% 0.170 136.4);
Tailwind
colors: {
  custom: {
    50: '#87b764',
    500: '#4d981c',
    950: '#000000',
  },
}
SCSS
$custom: #4d981c;
$custom-light: #87b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4d981c",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 96.29,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.1696,
    "h": 136.4
  },
  "luminance": 0.24118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D981C

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

Preview Lab → · Contrast checker → · Palette generator →

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