#4D981A#4D981A

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

Color values

HEX#4D981A
RGBrgb(77, 152, 26)
HSLhsl(96, 71%, 35%)
HSVhsv(96, 83%, 60%)
CMYKcmyk(49.3%, 0%, 82.9%, 40.4%)
CIE-LABlab(56.20, -44.18, 53.49)
CIE-LCHlch(56.20, 69.38, 129.55°)
OKLaboklab(60.77% -0.1232 0.1179)
OKLCHoklch(60.77% 0.171 136.3)
XYZxyz(14.4749, 24.1078, 4.8676)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D981A #651A98
analogous
#8C981A #4D981A #1A9826
triadic
#4D981A #1A4D98 #981A4D
tetradic
#4D981A #1A8C98 #651A98 #98261A
square
#4D981A #1A8C98 #651A98 #98261A
split-complementary
#4D981A #261A98 #981A8C
monochromatic
#182F08 #336411 #4D981A #67CC23 #88E04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D981A#FFFFFF#000000##000000
##4D981A1.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)
#9E8B00
Deuteranopia (green-blind)
#948429
Tritanopia (blue-blind)
#499281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4d981a;
/* rgb */ color: rgb(77, 152, 26);
/* oklch */ color: oklch(60.8% 0.171 136.3);
Tailwind
colors: {
  custom: {
    50: '#87b763',
    500: '#4d981a',
    950: '#000000',
  },
}
SCSS
$custom: #4d981a;
$custom-light: #87b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4d981a",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 95.714,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.1705,
    "h": 136.3
  },
  "luminance": 0.24109
}

Semantic roles & 50–950 ramp

primary
#4D981A
secondary
#924BC2
accent
#3AEEA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D981A

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

Preview Lab → · Contrast checker → · Palette generator →

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