#4E981D#4E981D

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

Color values

HEX#4E981D
RGBrgb(78, 152, 29)
HSLhsl(96, 68%, 35%)
HSVhsv(96, 81%, 60%)
CMYKcmyk(48.7%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.25, -43.70, 52.68)
CIE-LCHlch(56.25, 68.45, 129.68°)
OKLaboklab(60.83% -0.1218 0.1166)
OKLCHoklch(60.83% 0.169 136.2)
XYZxyz(14.5915, 24.1639, 5.0574)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E981D #671D98
analogous
#8B981D #4E981D #1D982A
triadic
#4E981D #1D4E98 #981D4E
tetradic
#4E981D #1D8B98 #671D98 #982A1D
square
#4E981D #1D8B98 #671D98 #982A1D
split-complementary
#4E981D #2A1D98 #981D8B
monochromatic
#193109 #346513 #4E981D #68CB27 #89DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E981D#FFFFFF#000000##000000
##4E981D1.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)
#9E8B00
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#4A9281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e981d;
/* rgb */ color: rgb(78, 152, 29);
/* oklch */ color: oklch(60.8% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b764',
    500: '#4e981d',
    950: '#000000',
  },
}
SCSS
$custom: #4e981d;
$custom-light: #87b764;
$custom-dark: #000000;
JSON
{
  "hex": "#4e981d",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 96.098,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.16862,
    "h": 136.2
  },
  "luminance": 0.24165
}

Semantic roles & 50–950 ramp

primary
#4E981D
secondary
#9450C1
accent
#3DEBA6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E981D

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

Preview Lab → · Contrast checker → · Palette generator →

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