#4E781B#4E781B

#4E781B is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.3% C 0.129 H 131.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E781B
RGBrgb(78, 120, 27)
HSLhsl(87, 63%, 29%)
HSVhsv(87, 78%, 47%)
CMYKcmyk(35%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.81, -29.95, 43.43)
CIE-LCHlch(45.81, 52.76, 124.60°)
OKLaboklab(52.28% -0.0849 0.0969)
OKLCHoklch(52.28% 0.129 131.2)
XYZxyz(10.0561, 15.1314, 3.4275)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E781B #451B78
analogous
#78741B #4E781B #20781B
triadic
#4E781B #1B4E78 #781B4E
tetradic
#4E781B #1B7874 #451B78 #781B20
square
#4E781B #1B7874 #451B78 #781B20
split-complementary
#4E781B #1B2078 #741B78
monochromatic
#101906 #2E4610 #4E781B #6EAA26 #8ED33B

Accessibility & contrast

On white

5.22
#4E781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E781B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E781B#FFFFFF#000000##FFFFFF
##4E781B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#507366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e781b;
/* rgb */ color: rgb(78, 120, 27);
/* oklch */ color: oklch(52.3% 0.129 131.2);
Tailwind
colors: {
  custom: {
    50: '#839f5f',
    500: '#4e781b',
    950: '#000000',
  },
}
SCSS
$custom: #4e781b;
$custom-light: #839f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e781b",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 87.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.12882,
    "h": 131.2
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#4E781B
secondary
#7243AC
accent
#41E68C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E781B

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

Preview Lab → · Contrast checker → · Palette generator →

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