#4E8128#4E8128

#4E8128 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.132 H 134.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E8128
RGBrgb(78, 129, 40)
HSLhsl(94, 53%, 33%)
HSVhsv(94, 69%, 51%)
CMYKcmyk(39.5%, 0%, 69%, 49.4%)
CIE-LABlab(48.85, -33.13, 41.26)
CIE-LCHlch(48.85, 52.91, 128.76°)
OKLaboklab(54.79% -0.0924 0.0943)
OKLCHoklch(54.79% 0.132 134.4)
XYZxyz(11.3749, 17.4729, 4.7803)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8128 #5B2881
analogous
#7A8128 #4E8128 #28812E
triadic
#4E8128 #284E81 #81284E
tetradic
#4E8128 #287A81 #5B2881 #812E28
square
#4E8128 #287A81 #5B2881 #812E28
split-complementary
#4E8128 #2E2881 #81287A
monochromatic
#16240B #32521A #4E8128 #6AB036 #89CB58

Accessibility & contrast

On white

4.67
#4E8128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8128
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8128#FFFFFF#000000##FFFFFF
##4E81281.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#4D7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8128;
/* rgb */ color: rgb(78, 129, 40);
/* oklch */ color: oklch(54.8% 0.132 134.4);
Tailwind
colors: {
  custom: {
    50: '#84a667',
    500: '#4e8128',
    950: '#000000',
  },
}
SCSS
$custom: #4e8128;
$custom-light: #84a667;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8128",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 94.382,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.13207,
    "h": 134.4
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8128

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

Preview Lab → · Contrast checker → · Palette generator →

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