#4E8827#4E8827

#4E8827 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.142 H 135.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E8827
RGBrgb(78, 136, 39)
HSLhsl(96, 55%, 34%)
HSVhsv(96, 71%, 53%)
CMYKcmyk(42.6%, 0%, 71.3%, 46.7%)
CIE-LABlab(51.12, -36.33, 44.06)
CIE-LCHlch(51.12, 57.11, 129.51°)
OKLaboklab(56.64% -0.1012 0.1001)
OKLCHoklch(56.64% 0.142 135.3)
XYZxyz(12.3120, 19.3738, 5.0098)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8827 #612788
analogous
#7F8827 #4E8827 #278830
triadic
#4E8827 #274E88 #88274E
tetradic
#4E8827 #277F88 #612788 #883027
square
#4E8827 #277F88 #612788 #883027
split-complementary
#4E8827 #302788 #88277F
monochromatic
#17290C #335819 #4E8827 #69B835 #89D05A

Accessibility & contrast

On white

4.31
#4E8827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4E8827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8827
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8827#FFFFFF#000000##000000
##4E88271.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#4C8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8827;
/* rgb */ color: rgb(78, 136, 39);
/* oklch */ color: oklch(56.6% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#85ab67',
    500: '#4e8827',
    950: '#000000',
  },
}
SCSS
$custom: #4e8827;
$custom-light: #85ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8827",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 95.876,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.14234,
    "h": 135.3
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#4E8827
secondary
#8F56B5
accent
#49DFA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8827

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

Preview Lab → · Contrast checker → · Palette generator →

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