#4E8928#4E8928

#4E8928 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.143 H 135.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4E8928
RGBrgb(78, 137, 40)
HSLhsl(96, 55%, 35%)
HSVhsv(96, 71%, 54%)
CMYKcmyk(43.1%, 0%, 70.8%, 46.3%)
CIE-LABlab(51.45, -36.69, 43.99)
CIE-LCHlch(51.45, 57.28, 129.82°)
OKLaboklab(56.92% -0.1021 0.1001)
OKLCHoklch(56.92% 0.143 135.6)
XYZxyz(12.4702, 19.6635, 5.1454)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8928 #632889
analogous
#7E8928 #4E8928 #288933
triadic
#4E8928 #284E89 #89284E
tetradic
#4E8928 #287E89 #632889 #893328
square
#4E8928 #287E89 #632889 #893328
split-complementary
#4E8928 #332889 #89287E
monochromatic
#182A0C #335A1A #4E8928 #69B836 #89CF5C

Accessibility & contrast

On white

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

On black

4.93
#4E8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8928
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8928#FFFFFF#000000##000000
##4E89281.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#4C8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8928;
/* rgb */ color: rgb(78, 137, 40);
/* oklch */ color: oklch(56.9% 0.143 135.6);
Tailwind
colors: {
  custom: {
    50: '#85ac68',
    500: '#4e8928',
    950: '#000000',
  },
}
SCSS
$custom: #4e8928;
$custom-light: #85ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8928",
  "rgb": {
    "r": 78,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 96.495,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.14298,
    "h": 135.6
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#4E8928
secondary
#9058B5
accent
#4ADEA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8928

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

Preview Lab → · Contrast checker → · Palette generator →

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