#4E9B21#4E9B21

#4E9B21 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.7% C 0.170 H 136.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E9B21
RGBrgb(78, 155, 33)
HSLhsl(98, 65%, 37%)
HSVhsv(98, 79%, 61%)
CMYKcmyk(49.7%, 0%, 78.7%, 39.2%)
CIE-LABlab(57.24, -44.67, 52.35)
CIE-LCHlch(57.24, 68.82, 130.48°)
OKLaboklab(61.66% -0.1242 0.1165)
OKLCHoklch(61.66% 0.17 136.8)
XYZxyz(15.1373, 25.1711, 5.4994)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9B21 #6E219B
analogous
#8B9B21 #4E9B21 #219B31
triadic
#4E9B21 #214E9B #9B214E
tetradic
#4E9B21 #218B9B #6E219B #9B3121
square
#4E9B21 #218B9B #6E219B #9B3121
split-complementary
#4E9B21 #31219B #9B218B
monochromatic
#1B360C #356916 #4E9B21 #67CD2C #8ADC5A

Accessibility & contrast

On white

3.48
#4E9B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#4E9B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9B21
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9B21#FFFFFF#000000##000000
##4E9B211.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#4A9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9b21;
/* rgb */ color: rgb(78, 155, 33);
/* oklch */ color: oklch(61.7% 0.170 136.8);
Tailwind
colors: {
  custom: {
    50: '#87b966',
    500: '#4e9b21',
    950: '#000000',
  },
}
SCSS
$custom: #4e9b21;
$custom-light: #87b966;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9b21",
  "rgb": {
    "r": 78,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 97.869,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.17028,
    "h": 136.8
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#4E9B21
secondary
#9A58C0
accent
#40E8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9B21

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

Preview Lab → · Contrast checker → · Palette generator →

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