#4E781C#4E781C

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

Color values

HEX#4E781C
RGBrgb(78, 120, 28)
HSLhsl(87, 62%, 29%)
HSVhsv(87, 77%, 47%)
CMYKcmyk(35%, 0%, 76.7%, 52.9%)
CIE-LABlab(45.82, -29.89, 43.06)
CIE-LCHlch(45.82, 52.42, 124.77°)
OKLaboklab(52.29% -0.0846 0.0963)
OKLCHoklch(52.29% 0.128 131.3)
XYZxyz(10.0679, 15.1361, 3.4895)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E781C #461C78
analogous
#78741C #4E781C #20781C
triadic
#4E781C #1C4E78 #781C4E
tetradic
#4E781C #1C7874 #461C78 #781C20
square
#4E781C #1C7874 #461C78 #781C20
split-complementary
#4E781C #1C2078 #741C78
monochromatic
#101906 #2E4610 #4E781C #6EAA28 #8ED23D

Accessibility & contrast

On white

5.21
#4E781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E781C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E781C#FFFFFF#000000##FFFFFF
##4E781C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#4F7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e781c;
/* rgb */ color: rgb(78, 120, 28);
/* oklch */ color: oklch(52.3% 0.128 131.3);
Tailwind
colors: {
  custom: {
    50: '#839f5f',
    500: '#4e781c',
    950: '#000000',
  },
}
SCSS
$custom: #4e781c;
$custom-light: #839f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e781c",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 87.391,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.1282,
    "h": 131.3
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#4E781C
secondary
#7344AC
accent
#43E58D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E781C

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

Preview Lab → · Contrast checker → · Palette generator →

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