#4E981B#4E981B

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

Color values

HEX#4E981B
RGBrgb(78, 152, 27)
HSLhsl(96, 70%, 35%)
HSVhsv(96, 82%, 60%)
CMYKcmyk(48.7%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.24, -43.81, 53.26)
CIE-LCHlch(56.24, 68.97, 129.44°)
OKLaboklab(60.82% -0.1222 0.1175)
OKLCHoklch(60.82% 0.17 136.1)
XYZxyz(14.5676, 24.1543, 4.9313)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E981B #651B98
analogous
#8C981B #4E981B #1B9827
triadic
#4E981B #1B4E98 #981B4E
tetradic
#4E981B #1B8C98 #651B98 #98271B
square
#4E981B #1B8C98 #651B98 #98271B
split-complementary
#4E981B #271B98 #981B8C
monochromatic
#193009 #336412 #4E981B #69CC24 #89E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E981B#FFFFFF#000000##000000
##4E981B1.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)
#94852A
Tritanopia (blue-blind)
#4B9281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e981b;
/* rgb */ color: rgb(78, 152, 27);
/* oklch */ color: oklch(60.8% 0.170 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b763',
    500: '#4e981b',
    950: '#000000',
  },
}
SCSS
$custom: #4e981b;
$custom-light: #87b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4e981b",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 95.52,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.16955,
    "h": 136.1
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#4E981B
secondary
#924DC2
accent
#3BEDA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E981B

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

Preview Lab → · Contrast checker → · Palette generator →

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