#4E8E21#4E8E21

#4E8E21 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.154 H 135.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E8E21
RGBrgb(78, 142, 33)
HSLhsl(95, 62%, 34%)
HSVhsv(95, 77%, 56%)
CMYKcmyk(45.1%, 0%, 76.8%, 44.3%)
CIE-LABlab(53.03, -39.35, 48.29)
CIE-LCHlch(53.03, 62.29, 129.18°)
OKLaboklab(58.2% -0.1098 0.108)
OKLCHoklch(58.2% 0.154 135.5)
XYZxyz(13.0891, 21.0747, 4.8167)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E21 #61218E
analogous
#858E21 #4E8E21 #218E2A
triadic
#4E8E21 #214E8E #8E214E
tetradic
#4E8E21 #21858E #61218E #8E2A21
square
#4E8E21 #21858E #61218E #8E2A21
split-complementary
#4E8E21 #2A218E #8E2185
monochromatic
#172B0A #335C15 #4E8E21 #69C02D #89D752

Accessibility & contrast

On white

4.03
#4E8E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E8E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E21
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E21#FFFFFF#000000##000000
##4E8E211.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938209
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e21;
/* rgb */ color: rgb(78, 142, 33);
/* oklch */ color: oklch(58.2% 0.154 135.5);
Tailwind
colors: {
  custom: {
    50: '#86af65',
    500: '#4e8e21',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e21;
$custom-light: #86af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e21",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 95.229,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.15405,
    "h": 135.5
  },
  "luminance": 0.21076
}

Semantic roles & 50–950 ramp

primary
#4E8E21
secondary
#8F50BA
accent
#42E5A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E21

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

Preview Lab → · Contrast checker → · Palette generator →

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