#4E782B#4E782B

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

Color values

HEX#4E782B
RGBrgb(78, 120, 43)
HSLhsl(93, 47%, 32%)
HSVhsv(93, 64%, 47%)
CMYKcmyk(35%, 0%, 64.2%, 52.9%)
CIE-LABlab(45.94, -28.66, 36.73)
CIE-LCHlch(45.94, 46.59, 127.96°)
OKLaboklab(52.43% -0.08 0.0852)
OKLCHoklch(52.43% 0.117 133.2)
XYZxyz(10.2942, 15.2267, 4.6817)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782B #552B78
analogous
#75782B #4E782B #2B782F
triadic
#4E782B #2B4E78 #782B4E
tetradic
#4E782B #2B7578 #552B78 #782F2B
square
#4E782B #2B7578 #552B78 #782F2B
split-complementary
#4E782B #2F2B78 #782B75
monochromatic
#131E0B #314B1B #4E782B #6BA53B #8AC45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E782B#FFFFFF#000000##FFFFFF
##4E782B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e782b;
/* rgb */ color: rgb(78, 120, 43);
/* oklch */ color: oklch(52.4% 0.117 133.2);
Tailwind
colors: {
  custom: {
    50: '#839f68',
    500: '#4e782b',
    950: '#000000',
  },
}
SCSS
$custom: #4e782b;
$custom-light: #839f68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782b",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 92.727,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.11683,
    "h": 133.2
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#4E782B
secondary
#8355AA
accent
#51D79A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E782B

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

Preview Lab → · Contrast checker → · Palette generator →

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