#4E8828#4E8828

#4E8828 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.7% C 0.142 H 135.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E8828
RGBrgb(78, 136, 40)
HSLhsl(96, 55%, 35%)
HSVhsv(96, 71%, 53%)
CMYKcmyk(42.6%, 0%, 70.6%, 46.7%)
CIE-LABlab(51.13, -36.25, 43.65)
CIE-LCHlch(51.13, 56.74, 129.70°)
OKLaboklab(56.65% -0.1009 0.0994)
OKLCHoklch(56.65% 0.142 135.4)
XYZxyz(12.3288, 19.3805, 5.0983)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8828 #622888
analogous
#7E8828 #4E8828 #288832
triadic
#4E8828 #284E88 #88284E
tetradic
#4E8828 #287E88 #622888 #883228
square
#4E8828 #287E88 #622888 #883228
split-complementary
#4E8828 #322888 #88287E
monochromatic
#18290C #33591A #4E8828 #69B736 #89CF5B

Accessibility & contrast

On white

4.31
#4E8828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4E8828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8828
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8828#FFFFFF#000000##000000
##4E88281.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#4C8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8828;
/* rgb */ color: rgb(78, 136, 40);
/* oklch */ color: oklch(56.7% 0.142 135.4);
Tailwind
colors: {
  custom: {
    50: '#84ab68',
    500: '#4e8828',
    950: '#000000',
  },
}
SCSS
$custom: #4e8828;
$custom-light: #84ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8828",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 96.25,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.14162,
    "h": 135.4
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#4E8828
secondary
#9058B4
accent
#4ADEA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8828

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

Preview Lab → · Contrast checker → · Palette generator →

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