#4E9C21#4E9C21

#4E9C21 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.172 H 136.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4E9C21
RGBrgb(78, 156, 33)
HSLhsl(98, 65%, 37%)
HSVhsv(98, 79%, 61%)
CMYKcmyk(50%, 0%, 78.8%, 38.8%)
CIE-LABlab(57.56, -45.07, 52.66)
CIE-LCHlch(57.56, 69.31, 130.56°)
OKLaboklab(61.92% -0.1252 0.1172)
OKLCHoklch(61.92% 0.172 136.9)
XYZxyz(15.3044, 25.5054, 5.5551)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9C21 #6F219C
analogous
#8B9C21 #4E9C21 #219C32
triadic
#4E9C21 #214E9C #9C214E
tetradic
#4E9C21 #218B9C #6F219C #9C3221
square
#4E9C21 #218B9C #6F219C #9C3221
split-complementary
#4E9C21 #32219C #9C218B
monochromatic
#1B370C #356916 #4E9C21 #67CF2C #8ADC5B

Accessibility & contrast

On white

3.44
#4E9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4E9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9C21
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9C21#FFFFFF#000000##000000
##4E9C211.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#499685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4e9c21;
/* rgb */ color: rgb(78, 156, 33);
/* oklch */ color: oklch(61.9% 0.172 136.9);
Tailwind
colors: {
  custom: {
    50: '#87ba67',
    500: '#4e9c21',
    950: '#000000',
  },
}
SCSS
$custom: #4e9c21;
$custom-light: #87ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9c21",
  "rgb": {
    "r": 78,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 98.049,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.1715,
    "h": 136.9
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

primary
#4E9C21
secondary
#9A58C1
accent
#40E8AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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