#4E9827#4E9827

#4E9827 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.163 H 137.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E9827
RGBrgb(78, 152, 39)
HSLhsl(99, 59%, 37%)
HSVhsv(99, 74%, 60%)
CMYKcmyk(48.7%, 0%, 74.3%, 40.4%)
CIE-LABlab(56.31, -43.07, 49.34)
CIE-LCHlch(56.31, 65.50, 131.12°)
OKLaboklab(60.9% -0.1195 0.1111)
OKLCHoklch(60.9% 0.163 137.1)
XYZxyz(14.7359, 24.2217, 5.8178)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9827 #712798
analogous
#869827 #4E9827 #279839
triadic
#4E9827 #274E98 #98274E
tetradic
#4E9827 #278698 #712798 #983927
square
#4E9827 #278698 #712798 #983927
split-complementary
#4E9827 #392798 #982786
monochromatic
#1C370E #35671B #4E9827 #67C933 #8BD763

Accessibility & contrast

On white

3.59
#4E9827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4E9827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9827
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9827#FFFFFF#000000##000000
##4E98271.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B12
Deuteranopia (green-blind)
#938532
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9827;
/* rgb */ color: rgb(78, 152, 39);
/* oklch */ color: oklch(60.9% 0.163 137.1);
Tailwind
colors: {
  custom: {
    50: '#87b769',
    500: '#4e9827',
    950: '#000000',
  },
}
SCSS
$custom: #4e9827;
$custom-light: #87b769;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9827",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 99.292,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.609,
    "c": 0.16316,
    "h": 137.1
  },
  "luminance": 0.24223
}

Semantic roles & 50–950 ramp

primary
#4E9827
secondary
#9C5EBC
accent
#45E2AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4E9827

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

Preview Lab → · Contrast checker → · Palette generator →

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