#4E781D#4E781D

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

Color values

HEX#4E781D
RGBrgb(78, 120, 29)
HSLhsl(88, 61%, 29%)
HSVhsv(88, 76%, 47%)
CMYKcmyk(35%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.83, -29.82, 42.68)
CIE-LCHlch(45.83, 52.07, 124.94°)
OKLaboklab(52.29% -0.0844 0.0957)
OKLCHoklch(52.29% 0.128 131.4)
XYZxyz(10.0800, 15.1410, 3.5536)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E781D #471D78
analogous
#78751D #4E781D #21781D
triadic
#4E781D #1D4E78 #781D4E
tetradic
#4E781D #1D7875 #471D78 #781D21
square
#4E781D #1D7875 #471D78 #781D21
split-complementary
#4E781D #1D2178 #751D78
monochromatic
#101906 #2E4711 #4E781D #6EA929 #8DD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E781D#FFFFFF#000000##FFFFFF
##4E781D1.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)
#7D6F0C
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#4F7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e781d;
/* rgb */ color: rgb(78, 120, 29);
/* oklch */ color: oklch(52.3% 0.128 131.4);
Tailwind
colors: {
  custom: {
    50: '#839f60',
    500: '#4e781d',
    950: '#000000',
  },
}
SCSS
$custom: #4e781d;
$custom-light: #839f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e781d",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 87.692,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.12756,
    "h": 131.4
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#4E781D
secondary
#7445AC
accent
#44E48E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E781D

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

Preview Lab → · Contrast checker → · Palette generator →

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