#4E8D28#4E8D28

#4E8D28 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.148 H 136.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E8D28
RGBrgb(78, 141, 40)
HSLhsl(97, 56%, 35%)
HSVhsv(97, 72%, 55%)
CMYKcmyk(44.7%, 0%, 71.6%, 44.7%)
CIE-LABlab(52.75, -38.41, 45.34)
CIE-LCHlch(52.75, 59.42, 130.27°)
OKLaboklab(57.98% -0.1068 0.1029)
OKLCHoklch(57.98% 0.148 136.1)
XYZxyz(13.0494, 20.8219, 5.3385)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D28 #67288D
analogous
#808D28 #4E8D28 #288D35
triadic
#4E8D28 #284E8D #8D284E
tetradic
#4E8D28 #28808D #67288D #8D3528
square
#4E8D28 #28808D #67288D #8D3528
split-complementary
#4E8D28 #35288D #8D2880
monochromatic
#192E0D #345D1A #4E8D28 #68BD36 #89D15E

Accessibility & contrast

On white

4.07
#4E8D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E8D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D28
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D28#FFFFFF#000000##000000
##4E8D281.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d28;
/* rgb */ color: rgb(78, 141, 40);
/* oklch */ color: oklch(58.0% 0.148 136.1);
Tailwind
colors: {
  custom: {
    50: '#85af68',
    500: '#4e8d28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d28;
$custom-light: #85af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d28",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 97.426,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.1483,
    "h": 136.1
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#4E8D28
secondary
#945AB7
accent
#49DFA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8D28

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

Preview Lab → · Contrast checker → · Palette generator →

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