#4E782C#4E782C

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

Color values

HEX#4E782C
RGBrgb(78, 120, 44)
HSLhsl(93, 46%, 32%)
HSVhsv(93, 63%, 47%)
CMYKcmyk(35%, 0%, 63.3%, 52.9%)
CIE-LABlab(45.95, -28.56, 36.26)
CIE-LCHlch(45.95, 46.16, 128.22°)
OKLaboklab(52.44% -0.0796 0.0843)
OKLCHoklch(52.44% 0.116 133.4)
XYZxyz(10.3128, 15.2341, 4.7795)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782C #562C78
analogous
#74782C #4E782C #2C7830
triadic
#4E782C #2C4E78 #782C4E
tetradic
#4E782C #2C7478 #562C78 #78302C
square
#4E782C #2C7478 #562C78 #78302C
split-complementary
#4E782C #302C78 #782C74
monochromatic
#141E0B #314B1C #4E782C #6BA53C #8AC35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E782C#FFFFFF#000000##FFFFFF
##4E782C1.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)
#7D6F23
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#4E7368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e782c;
/* rgb */ color: rgb(78, 120, 44);
/* oklch */ color: oklch(52.4% 0.116 133.4);
Tailwind
colors: {
  custom: {
    50: '#839f68',
    500: '#4e782c',
    950: '#000000',
  },
}
SCSS
$custom: #4e782c;
$custom-light: #839f68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782c",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 93.158,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.11594,
    "h": 133.4
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#4E782C
secondary
#8457A9
accent
#52D69B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E782C

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

Preview Lab → · Contrast checker → · Palette generator →

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