#4E8C28#4E8C28

#4E8C28 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.147 H 135.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E8C28
RGBrgb(78, 140, 40)
HSLhsl(97, 56%, 35%)
HSVhsv(97, 71%, 55%)
CMYKcmyk(44.3%, 0%, 71.4%, 45.1%)
CIE-LABlab(52.43, -37.98, 45.00)
CIE-LCHlch(52.43, 58.89, 130.16°)
OKLaboklab(57.72% -0.1056 0.1022)
OKLCHoklch(57.72% 0.147 135.9)
XYZxyz(12.9026, 20.5283, 5.2896)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C28 #66288C
analogous
#808C28 #4E8C28 #288C34
triadic
#4E8C28 #284E8C #8C284E
tetradic
#4E8C28 #28808C #66288C #8C3428
square
#4E8C28 #28808C #66288C #8C3428
split-complementary
#4E8C28 #34288C #8C2880
monochromatic
#192D0D #335C1A #4E8C28 #69BC36 #89D15E

Accessibility & contrast

On white

4.11
#4E8C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E8C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C28
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C28#FFFFFF#000000##000000
##4E8C281.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#897B31
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c28;
/* rgb */ color: rgb(78, 140, 40);
/* oklch */ color: oklch(57.7% 0.147 135.9);
Tailwind
colors: {
  custom: {
    50: '#85ae68',
    500: '#4e8c28',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c28;
$custom-light: #85ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c28",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 97.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.14698,
    "h": 135.9
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#4E8C28
secondary
#935AB6
accent
#49DFA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8C28

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

Preview Lab → · Contrast checker → · Palette generator →

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