#4E9828#4E9828

#4E9828 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.163 H 137.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E9828
RGBrgb(78, 152, 40)
HSLhsl(100, 58%, 38%)
HSVhsv(100, 74%, 60%)
CMYKcmyk(48.7%, 0%, 73.7%, 40.4%)
CIE-LABlab(56.32, -43.00, 48.97)
CIE-LCHlch(56.32, 65.17, 131.28°)
OKLaboklab(60.91% -0.1192 0.1105)
OKLCHoklch(60.91% 0.163 137.2)
XYZxyz(14.7527, 24.2284, 5.9062)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9828 #722898
analogous
#869828 #4E9828 #28983A
triadic
#4E9828 #284E98 #98284E
tetradic
#4E9828 #288698 #722898 #983A28
square
#4E9828 #288698 #722898 #983A28
split-complementary
#4E9828 #3A2898 #982886
monochromatic
#1C370F #35681B #4E9828 #67C835 #8BD664

Accessibility & contrast

On white

3.59
#4E9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4E9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9828
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9828#FFFFFF#000000##000000
##4E98281.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#938533
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9828;
/* rgb */ color: rgb(78, 152, 40);
/* oklch */ color: oklch(60.9% 0.163 137.2);
Tailwind
colors: {
  custom: {
    50: '#87b769',
    500: '#4e9828',
    950: '#000000',
  },
}
SCSS
$custom: #4e9828;
$custom-light: #87b769;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9828",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 99.643,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.16253,
    "h": 137.2
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#4E9828
secondary
#9D60BC
accent
#46E2AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4E9828

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

Preview Lab → · Contrast checker → · Palette generator →

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