#4E9221#4E9221

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

Color values

HEX#4E9221
RGBrgb(78, 146, 33)
HSLhsl(96, 63%, 35%)
HSVhsv(96, 77%, 57%)
CMYKcmyk(46.6%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.33, -41.02, 49.55)
CIE-LCHlch(54.33, 64.32, 129.62°)
OKLaboklab(59.26% -0.1143 0.1107)
OKLCHoklch(59.26% 0.159 135.9)
XYZxyz(13.6949, 22.2864, 5.0186)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9221 #652192
analogous
#869221 #4E9221 #21922C
triadic
#4E9221 #214E92 #92214E
tetradic
#4E9221 #218692 #652192 #922C21
square
#4E9221 #218692 #652192 #922C21
split-complementary
#4E9221 #2C2192 #922186
monochromatic
#192E0A #336016 #4E9221 #69C42C #89D955

Accessibility & contrast

On white

3.85
#4E9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E9221#FFFFFF#000000##000000
##4E92211.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#4B8C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e9221;
/* rgb */ color: rgb(78, 146, 33);
/* oklch */ color: oklch(59.3% 0.159 135.9);
Tailwind
colors: {
  custom: {
    50: '#86b265',
    500: '#4e9221',
    950: '#000000',
  },
}
SCSS
$custom: #4e9221;
$custom-light: #86b265;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9221",
  "rgb": {
    "r": 78,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 96.106,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.15912,
    "h": 135.9
  },
  "luminance": 0.22287
}

Semantic roles & 50–950 ramp

primary
#4E9221
secondary
#9253BC
accent
#42E6A5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9221

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

Preview Lab → · Contrast checker → · Palette generator →

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