#4E8428#4E8428

#4E8428 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.136 H 134.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E8428
RGBrgb(78, 132, 40)
HSLhsl(95, 53%, 34%)
HSVhsv(95, 70%, 52%)
CMYKcmyk(40.9%, 0%, 69.7%, 48.2%)
CIE-LABlab(49.83, -34.48, 42.29)
CIE-LCHlch(49.83, 54.56, 129.19°)
OKLaboklab(55.59% -0.0961 0.0965)
OKLCHoklch(55.59% 0.136 134.9)
XYZxyz(11.7759, 18.2748, 4.9140)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8428 #5E2884
analogous
#7C8428 #4E8428 #288430
triadic
#4E8428 #284E84 #84284E
tetradic
#4E8428 #287C84 #5E2884 #843028
square
#4E8428 #287C84 #5E2884 #843028
split-complementary
#4E8428 #302884 #84287C
monochromatic
#16260C #32551A #4E8428 #6AB336 #89CD5A

Accessibility & contrast

On white

4.51
#4E8428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4E8428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8428
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8428#FFFFFF#000000##000000
##4E84281.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791B
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#4D7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e8428;
/* rgb */ color: rgb(78, 132, 40);
/* oklch */ color: oklch(55.6% 0.136 134.9);
Tailwind
colors: {
  custom: {
    50: '#84a867',
    500: '#4e8428',
    950: '#000000',
  },
}
SCSS
$custom: #4e8428;
$custom-light: #84a867;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8428",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 95.217,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.1362,
    "h": 134.9
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#4E8428
secondary
#8C56B2
accent
#4BDDA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8428

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

Preview Lab → · Contrast checker → · Palette generator →

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