#4E782E#4E782E

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

Color values

HEX#4E782E
RGBrgb(78, 120, 46)
HSLhsl(94, 45%, 33%)
HSVhsv(94, 62%, 47%)
CMYKcmyk(35%, 0%, 61.7%, 52.9%)
CIE-LABlab(45.97, -28.35, 35.32)
CIE-LCHlch(45.97, 45.29, 128.76°)
OKLaboklab(52.46% -0.0789 0.0825)
OKLCHoklch(52.46% 0.114 133.7)
XYZxyz(10.3513, 15.2495, 4.9823)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782E #582E78
analogous
#73782E #4E782E #2E7833
triadic
#4E782E #2E4E78 #782E4E
tetradic
#4E782E #2E7378 #582E78 #78332E
square
#4E782E #2E7378 #582E78 #78332E
split-complementary
#4E782E #332E78 #782E73
monochromatic
#14200C #314C1D #4E782E #6BA43F #8AC25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E782E#FFFFFF#000000##FFFFFF
##4E782E1.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)
#7D6F26
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#4E7368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e782e;
/* rgb */ color: rgb(78, 120, 46);
/* oklch */ color: oklch(52.5% 0.114 133.7);
Tailwind
colors: {
  custom: {
    50: '#829f6a',
    500: '#4e782e',
    950: '#000000',
  },
}
SCSS
$custom: #4e782e;
$custom-light: #829f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782e",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 94.054,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.11414,
    "h": 133.7
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#4E782E
secondary
#865AA8
accent
#54D49D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E782E

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

Preview Lab → · Contrast checker → · Palette generator →

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