#4E8721#4E8721

#4E8721 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.145 H 134.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E8721
RGBrgb(78, 135, 33)
HSLhsl(94, 61%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(42.2%, 0%, 75.6%, 47.1%)
CIE-LABlab(50.75, -36.34, 46.04)
CIE-LCHlch(50.75, 58.66, 128.28°)
OKLaboklab(56.33% -0.1017 0.1033)
OKLCHoklch(56.33% 0.145 134.5)
XYZxyz(12.0801, 19.0568, 4.4804)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8721 #5A2187
analogous
#818721 #4E8721 #218727
triadic
#4E8721 #214E87 #87214E
tetradic
#4E8721 #218187 #5A2187 #872721
square
#4E8721 #218187 #5A2187 #872721
split-complementary
#4E8721 #272187 #872181
monochromatic
#152509 #325615 #4E8721 #6AB82D #89D44F

Accessibility & contrast

On white

4.36
#4E8721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E8721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8721
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8721#FFFFFF#000000##000000
##4E87211.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#4D8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8721;
/* rgb */ color: rgb(78, 135, 33);
/* oklch */ color: oklch(56.3% 0.145 134.5);
Tailwind
colors: {
  custom: {
    50: '#85aa64',
    500: '#4e8721',
    950: '#000000',
  },
}
SCSS
$custom: #4e8721;
$custom-light: #85aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8721",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 93.529,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.145,
    "h": 134.5
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#4E8721
secondary
#884DB7
accent
#44E49D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8721

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

Preview Lab → · Contrast checker → · Palette generator →

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