#4E8B21#4E8B21

#4E8B21 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.150 H 135.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B21
RGBrgb(78, 139, 33)
HSLhsl(95, 62%, 34%)
HSVhsv(95, 76%, 55%)
CMYKcmyk(43.9%, 0%, 76.3%, 45.5%)
CIE-LABlab(52.06, -38.07, 47.33)
CIE-LCHlch(52.06, 60.74, 128.81°)
OKLaboklab(57.4% -0.1064 0.106)
OKLCHoklch(57.4% 0.15 135.1)
XYZxyz(12.6487, 20.1940, 4.6699)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B21 #5E218B
analogous
#838B21 #4E8B21 #218B29
triadic
#4E8B21 #214E8B #8B214E
tetradic
#4E8B21 #21838B #5E218B #8B2921
square
#4E8B21 #21838B #5E218B #8B2921
split-complementary
#4E8B21 #29218B #8B2183
monochromatic
#16280A #325A15 #4E8B21 #6ABC2D #89D651

Accessibility & contrast

On white

4.17
#4E8B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B21
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B21#FFFFFF#000000##000000
##4E8B211.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b21;
/* rgb */ color: rgb(78, 139, 33);
/* oklch */ color: oklch(57.4% 0.150 135.1);
Tailwind
colors: {
  custom: {
    50: '#85ad64',
    500: '#4e8b21',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b21;
$custom-light: #85ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b21",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 94.528,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.1502,
    "h": 135.1
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#4E8B21
secondary
#8C4FB9
accent
#43E5A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8B21

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

Preview Lab → · Contrast checker → · Palette generator →

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