#4E9228#4E9228

#4E9228 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.3% C 0.155 H 136.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E9228
RGBrgb(78, 146, 40)
HSLhsl(98, 57%, 36%)
HSVhsv(98, 73%, 57%)
CMYKcmyk(46.6%, 0%, 72.6%, 42.7%)
CIE-LABlab(54.38, -40.52, 47.00)
CIE-LCHlch(54.38, 62.06, 130.77°)
OKLaboklab(59.31% -0.1125 0.1064)
OKLCHoklch(59.31% 0.155 136.6)
XYZxyz(13.8034, 22.3298, 5.5898)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9228 #6C2892
analogous
#839228 #4E9228 #289237
triadic
#4E9228 #284E92 #92284E
tetradic
#4E9228 #288392 #6C2892 #923728
square
#4E9228 #288392 #6C2892 #923728
split-complementary
#4E9228 #372892 #922883
monochromatic
#1B320E #34621B #4E9228 #68C235 #8AD461

Accessibility & contrast

On white

3.84
#4E9228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4E9228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9228
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9228#FFFFFF#000000##000000
##4E92281.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978616
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#4B8D7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e9228;
/* rgb */ color: rgb(78, 146, 40);
/* oklch */ color: oklch(59.3% 0.155 136.6);
Tailwind
colors: {
  custom: {
    50: '#86b269',
    500: '#4e9228',
    950: '#000000',
  },
}
SCSS
$custom: #4e9228;
$custom-light: #86b269;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9228",
  "rgb": {
    "r": 78,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 98.491,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.15484,
    "h": 136.6
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#4E9228
secondary
#985DB9
accent
#48E0AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4E9228

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

Preview Lab → · Contrast checker → · Palette generator →

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