#4E8921#4E8921

#4E8921 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.148 H 134.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E8921
RGBrgb(78, 137, 33)
HSLhsl(94, 61%, 33%)
HSVhsv(94, 76%, 54%)
CMYKcmyk(43.1%, 0%, 75.9%, 46.3%)
CIE-LABlab(51.40, -37.21, 46.69)
CIE-LCHlch(51.40, 59.70, 128.55°)
OKLaboklab(56.86% -0.104 0.1047)
OKLCHoklch(56.86% 0.148 134.8)
XYZxyz(12.3618, 19.6201, 4.5743)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8921 #5C2189
analogous
#828921 #4E8921 #218928
triadic
#4E8921 #214E89 #89214E
tetradic
#4E8921 #218289 #5C2189 #892821
square
#4E8921 #218289 #5C2189 #892821
split-complementary
#4E8921 #282189 #892182
monochromatic
#162609 #325815 #4E8921 #6ABA2D #89D550

Accessibility & contrast

On white

4.26
#4E8921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4E8921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8921
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8921#FFFFFF#000000##000000
##4E89211.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0C
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#4D8475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8921;
/* rgb */ color: rgb(78, 137, 33);
/* oklch */ color: oklch(56.9% 0.148 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ac64',
    500: '#4e8921',
    950: '#000000',
  },
}
SCSS
$custom: #4e8921;
$custom-light: #85ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8921",
  "rgb": {
    "r": 78,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 94.038,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.1476,
    "h": 134.8
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#4E8921
secondary
#8A4EB8
accent
#44E49F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8921

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

Preview Lab → · Contrast checker → · Palette generator →

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