#4D981E#4D981E

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

Color values

HEX#4D981E
RGBrgb(77, 152, 30)
HSLhsl(97, 67%, 36%)
HSVhsv(97, 80%, 60%)
CMYKcmyk(49.3%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.21, -43.97, 52.32)
CIE-LCHlch(56.21, 68.34, 130.04°)
OKLaboklab(60.79% -0.1224 0.116)
OKLCHoklch(60.79% 0.169 136.5)
XYZxyz(14.5227, 24.1270, 5.1198)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D981E #691E98
analogous
#8A981E #4D981E #1E982C
triadic
#4D981E #1E4D98 #981E4D
tetradic
#4D981E #1E8A98 #691E98 #982C1E
square
#4D981E #1E8A98 #691E98 #982C1E
split-complementary
#4D981E #2C1E98 #981E8A
monochromatic
#19320A #336514 #4D981E #67CB28 #88DD53

Accessibility & contrast

On white

3.60
#4D981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#4D981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D981E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D981E#FFFFFF#000000##000000
##4D981E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d981e;
/* rgb */ color: rgb(77, 152, 30);
/* oklch */ color: oklch(60.8% 0.169 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b765',
    500: '#4d981e',
    950: '#000000',
  },
}
SCSS
$custom: #4d981e;
$custom-light: #86b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4d981e",
  "rgb": {
    "r": 77,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 96.885,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.16864,
    "h": 136.5
  },
  "luminance": 0.24128
}

Semantic roles & 50–950 ramp

primary
#4D981E
secondary
#9651C0
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D981E

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

Preview Lab → · Contrast checker → · Palette generator →

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