#4E782F#4E782F

#4E782F is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.113 H 133.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E782F
RGBrgb(78, 120, 47)
HSLhsl(95, 44%, 33%)
HSVhsv(95, 61%, 47%)
CMYKcmyk(35%, 0%, 60.8%, 52.9%)
CIE-LABlab(45.98, -28.25, 34.84)
CIE-LCHlch(45.98, 44.85, 129.04°)
OKLaboklab(52.47% -0.0785 0.0816)
OKLCHoklch(52.47% 0.113 133.9)
XYZxyz(10.3712, 15.2575, 5.0873)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782F #592F78
analogous
#72782F #4E782F #2F7835
triadic
#4E782F #2F4E78 #782F4E
tetradic
#4E782F #2F7278 #592F78 #78352F
square
#4E782F #2F7278 #592F78 #78352F
split-complementary
#4E782F #352F78 #782F72
monochromatic
#15200D #314C1E #4E782F #6BA440 #89C160

Accessibility & contrast

On white

5.18
#4E782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4E782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E782F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E782F#FFFFFF#000000##FFFFFF
##4E782F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#4E7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e782f;
/* rgb */ color: rgb(78, 120, 47);
/* oklch */ color: oklch(52.5% 0.113 133.9);
Tailwind
colors: {
  custom: {
    50: '#829f6a',
    500: '#4e782f',
    950: '#000000',
  },
}
SCSS
$custom: #4e782f;
$custom-light: #829f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782f",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 94.521,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.11321,
    "h": 133.9
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#4E782F
secondary
#875BA8
accent
#54D39D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E782F

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

Preview Lab → · Contrast checker → · Palette generator →

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