#4E9227#4E9227

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

Color values

HEX#4E9227
RGBrgb(78, 146, 39)
HSLhsl(98, 58%, 36%)
HSVhsv(98, 73%, 57%)
CMYKcmyk(46.6%, 0%, 73.3%, 42.7%)
CIE-LABlab(54.37, -40.60, 47.39)
CIE-LCHlch(54.37, 62.40, 130.59°)
OKLaboklab(59.31% -0.1128 0.107)
OKLCHoklch(59.31% 0.156 136.5)
XYZxyz(13.7866, 22.3231, 5.5014)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9227 #6B2792
analogous
#849227 #4E9227 #279236
triadic
#4E9227 #274E92 #92274E
tetradic
#4E9227 #278492 #6B2792 #923627
square
#4E9227 #278492 #6B2792 #923627
split-complementary
#4E9227 #362792 #922784
monochromatic
#1A310D #34621A #4E9227 #68C234 #8AD45F

Accessibility & contrast

On white

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

On black

5.46
#4E9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9227
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9227#FFFFFF#000000##000000
##4E92271.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e9227;
/* rgb */ color: rgb(78, 146, 39);
/* oklch */ color: oklch(59.3% 0.155 136.5);
Tailwind
colors: {
  custom: {
    50: '#86b268',
    500: '#4e9227',
    950: '#000000',
  },
}
SCSS
$custom: #4e9227;
$custom-light: #86b268;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9227",
  "rgb": {
    "r": 78,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 98.131,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.1555,
    "h": 136.5
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#4E9227
secondary
#975BBA
accent
#47E1A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9227

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

Preview Lab → · Contrast checker → · Palette generator →

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