#4E8628#4E8628

#4E8628 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.139 H 135.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E8628
RGBrgb(78, 134, 40)
HSLhsl(96, 54%, 34%)
HSVhsv(96, 70%, 53%)
CMYKcmyk(41.8%, 0%, 70.1%, 47.5%)
CIE-LABlab(50.48, -35.37, 42.97)
CIE-LCHlch(50.48, 55.66, 129.46°)
OKLaboklab(56.12% -0.0985 0.0979)
OKLCHoklch(56.12% 0.139 135.2)
XYZxyz(12.0497, 18.8225, 5.0053)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8628 #602886
analogous
#7D8628 #4E8628 #288631
triadic
#4E8628 #284E86 #86284E
tetradic
#4E8628 #287D86 #602886 #863128
square
#4E8628 #287D86 #602886 #863128
split-complementary
#4E8628 #312886 #86287D
monochromatic
#17280C #33571A #4E8628 #69B536 #89CE5B

Accessibility & contrast

On white

4.41
#4E8628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8628
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8628#FFFFFF#000000##000000
##4E86281.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#4D8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8628;
/* rgb */ color: rgb(78, 134, 40);
/* oklch */ color: oklch(56.1% 0.139 135.2);
Tailwind
colors: {
  custom: {
    50: '#84a967',
    500: '#4e8628',
    950: '#000000',
  },
}
SCSS
$custom: #4e8628;
$custom-light: #84a967;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8628",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 95.745,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.13893,
    "h": 135.2
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#4E8628
secondary
#8E57B3
accent
#4ADDA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8628

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

Preview Lab → · Contrast checker → · Palette generator →

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