#4E782A#4E782A

#4E782A is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.118 H 133.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E782A
RGBrgb(78, 120, 42)
HSLhsl(92, 48%, 32%)
HSVhsv(92, 65%, 47%)
CMYKcmyk(35%, 0%, 65%, 52.9%)
CIE-LABlab(45.93, -28.76, 37.19)
CIE-LCHlch(45.93, 47.02, 127.71°)
OKLaboklab(52.42% -0.0803 0.086)
OKLCHoklch(52.42% 0.118 133)
XYZxyz(10.2761, 15.2194, 4.5862)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782A #542A78
analogous
#75782A #4E782A #2A782D
triadic
#4E782A #2A4E78 #782A4E
tetradic
#4E782A #2A7578 #542A78 #782D2A
square
#4E782A #2A7578 #542A78 #782D2A
split-complementary
#4E782A #2D2A78 #782A75
monochromatic
#131D0A #314B1A #4E782A #6BA53A #8AC558

Accessibility & contrast

On white

5.19
#4E782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E782A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E782A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E782A#FFFFFF#000000##FFFFFF
##4E782A1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#4E7368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e782a;
/* rgb */ color: rgb(78, 120, 42);
/* oklch */ color: oklch(52.4% 0.118 133.0);
Tailwind
colors: {
  custom: {
    50: '#839f67',
    500: '#4e782a',
    950: '#000000',
  },
}
SCSS
$custom: #4e782a;
$custom-light: #839f67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782a",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 92.308,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.1177,
    "h": 133
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#4E782A
secondary
#8254AA
accent
#50D899
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E782A

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

Preview Lab → · Contrast checker → · Palette generator →

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