#4E8F28#4E8F28

#4E8F28 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.151 H 136.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E8F28
RGBrgb(78, 143, 40)
HSLhsl(98, 56%, 36%)
HSVhsv(98, 72%, 56%)
CMYKcmyk(45.5%, 0%, 72%, 43.9%)
CIE-LABlab(53.40, -39.26, 46.01)
CIE-LCHlch(53.40, 60.48, 130.48°)
OKLaboklab(58.52% -0.1091 0.1043)
OKLCHoklch(58.52% 0.151 136.3)
XYZxyz(13.3470, 21.4170, 5.4377)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F28 #69288F
analogous
#818F28 #4E8F28 #288F35
triadic
#4E8F28 #284E8F #8F284E
tetradic
#4E8F28 #28818F #69288F #8F3528
square
#4E8F28 #28818F #69288F #8F3528
split-complementary
#4E8F28 #35288F #8F2881
monochromatic
#1A2F0D #345F1B #4E8F28 #68BF35 #8AD25F

Accessibility & contrast

On white

3.97
#4E8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F28
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F28#FFFFFF#000000##000000
##4E8F281.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#4B8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e8f28;
/* rgb */ color: rgb(78, 143, 40);
/* oklch */ color: oklch(58.5% 0.151 136.3);
Tailwind
colors: {
  custom: {
    50: '#85b068',
    500: '#4e8f28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f28;
$custom-light: #85b068;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f28",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 97.864,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.15093,
    "h": 136.3
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#4E8F28
secondary
#965BB8
accent
#48E0A8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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