#4E9021#4E9021

#4E9021 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.157 H 135.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4E9021
RGBrgb(78, 144, 33)
HSLhsl(96, 63%, 35%)
HSVhsv(96, 77%, 56%)
CMYKcmyk(45.8%, 0%, 77.1%, 43.5%)
CIE-LABlab(53.68, -40.19, 48.92)
CIE-LCHlch(53.68, 63.31, 129.40°)
OKLaboklab(58.73% -0.1121 0.1094)
OKLCHoklch(58.73% 0.157 135.7)
XYZxyz(13.3893, 21.6752, 4.9168)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9021 #632190
analogous
#859021 #4E9021 #21902C
triadic
#4E9021 #214E90 #90214E
tetradic
#4E9021 #218590 #632190 #902C21
square
#4E9021 #218590 #632190 #902C21
split-complementary
#4E9021 #2C2190 #902185
monochromatic
#182C0A #335E16 #4E9021 #69C22C #89D854

Accessibility & contrast

On white

3.94
#4E9021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4E9021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9021
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9021#FFFFFF#000000##000000
##4E90211.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958408
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#4C8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e9021;
/* rgb */ color: rgb(78, 144, 33);
/* oklch */ color: oklch(58.7% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#86b165',
    500: '#4e9021',
    950: '#000000',
  },
}
SCSS
$custom: #4e9021;
$custom-light: #86b165;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9021",
  "rgb": {
    "r": 78,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 95.676,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.15659,
    "h": 135.7
  },
  "luminance": 0.21676
}

Semantic roles & 50–950 ramp

primary
#4E9021
secondary
#9051BB
accent
#42E6A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9021

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

Preview Lab → · Contrast checker → · Palette generator →

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