#4E981E#4E981E

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

Color values

HEX#4E981E
RGBrgb(78, 152, 30)
HSLhsl(96, 67%, 36%)
HSVhsv(96, 80%, 60%)
CMYKcmyk(48.7%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.26, -43.65, 52.38)
CIE-LCHlch(56.26, 68.18, 129.81°)
OKLaboklab(60.84% -0.1216 0.1161)
OKLCHoklch(60.84% 0.168 136.3)
XYZxyz(14.6041, 24.1689, 5.1236)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E981E #681E98
analogous
#8B981E #4E981E #1E982B
triadic
#4E981E #1E4E98 #981E4E
tetradic
#4E981E #1E8B98 #681E98 #982B1E
square
#4E981E #1E8B98 #681E98 #982B1E
split-complementary
#4E981E #2B1E98 #981E8B
monochromatic
#1A320A #346514 #4E981E #68CB28 #8ADD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E981E#FFFFFF#000000##000000
##4E981E1.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)
#94852C
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e981e;
/* rgb */ color: rgb(78, 152, 30);
/* oklch */ color: oklch(60.8% 0.168 136.3);
Tailwind
colors: {
  custom: {
    50: '#87b765',
    500: '#4e981e',
    950: '#000000',
  },
}
SCSS
$custom: #4e981e;
$custom-light: #87b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4e981e",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 96.393,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.16814,
    "h": 136.3
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#4E981E
secondary
#9551C0
accent
#3EEAA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E981E

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

Preview Lab → · Contrast checker → · Palette generator →

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