#4E782D#4E782D

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

Color values

HEX#4E782D
RGBrgb(78, 120, 45)
HSLhsl(94, 45%, 32%)
HSVhsv(94, 63%, 47%)
CMYKcmyk(35%, 0%, 62.5%, 52.9%)
CIE-LABlab(45.96, -28.46, 35.79)
CIE-LCHlch(45.96, 45.73, 128.49°)
OKLaboklab(52.45% -0.0793 0.0834)
OKLCHoklch(52.45% 0.115 133.6)
XYZxyz(10.3318, 15.2417, 4.8797)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E782D #572D78
analogous
#74782D #4E782D #2D7831
triadic
#4E782D #2D4E78 #782D4E
tetradic
#4E782D #2D7478 #572D78 #78312D
square
#4E782D #2D7478 #572D78 #78312D
split-complementary
#4E782D #312D78 #782D74
monochromatic
#141F0C #314B1C #4E782D #6BA53E #8AC25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4e782d;
/* rgb */ color: rgb(78, 120, 45);
/* oklch */ color: oklch(52.4% 0.115 133.6);
Tailwind
colors: {
  custom: {
    50: '#829f69',
    500: '#4e782d',
    950: '#000000',
  },
}
SCSS
$custom: #4e782d;
$custom-light: #829f69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e782d",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 93.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.11505,
    "h": 133.6
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#4E782D
secondary
#8558A9
accent
#53D59C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E782D

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

Preview Lab → · Contrast checker → · Palette generator →

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