#4E8028#4E8028

#4E8028 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.131 H 134.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E8028
RGBrgb(78, 128, 40)
HSLhsl(94, 52%, 33%)
HSVhsv(94, 69%, 50%)
CMYKcmyk(39.1%, 0%, 68.8%, 49.8%)
CIE-LABlab(48.52, -32.67, 40.91)
CIE-LCHlch(48.52, 52.36, 128.61°)
OKLaboklab(54.52% -0.0912 0.0936)
OKLCHoklch(54.52% 0.131 134.3)
XYZxyz(11.2438, 17.2107, 4.7366)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8028 #5A2880
analogous
#7A8028 #4E8028 #28802E
triadic
#4E8028 #284E80 #80284E
tetradic
#4E8028 #287A80 #5A2880 #802E28
square
#4E8028 #287A80 #5A2880 #802E28
split-complementary
#4E8028 #2E2880 #80287A
monochromatic
#15230B #325119 #4E8028 #6AAF37 #89CB58

Accessibility & contrast

On white

4.73
#4E8028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E8028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8028
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8028#FFFFFF#000000##FFFFFF
##4E80281.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#4E7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8028;
/* rgb */ color: rgb(78, 128, 40);
/* oklch */ color: oklch(54.5% 0.131 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a567',
    500: '#4e8028',
    950: '#000000',
  },
}
SCSS
$custom: #4e8028;
$custom-light: #84a567;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8028",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 94.091,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.13068,
    "h": 134.3
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#4E8028
secondary
#8854B0
accent
#4CDC9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8028

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

Preview Lab → · Contrast checker → · Palette generator →

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