#4E8F27#4E8F27

#4E8F27 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.152 H 136.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E8F27
RGBrgb(78, 143, 39)
HSLhsl(98, 57%, 36%)
HSVhsv(98, 73%, 56%)
CMYKcmyk(45.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(53.40, -39.34, 46.40)
CIE-LCHlch(53.40, 60.83, 130.29°)
OKLaboklab(58.51% -0.1094 0.105)
OKLCHoklch(58.51% 0.152 136.2)
XYZxyz(13.3302, 21.4103, 5.3493)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F27 #68278F
analogous
#828F27 #4E8F27 #278F34
triadic
#4E8F27 #274E8F #8F274E
tetradic
#4E8F27 #27828F #68278F #8F3427
square
#4E8F27 #27828F #68278F #8F3427
split-complementary
#4E8F27 #34278F #8F2782
monochromatic
#1A2F0D #345F1A #4E8F27 #68BF34 #8AD35D

Accessibility & contrast

On white

3.98
#4E8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F27
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F27#FFFFFF#000000##000000
##4E8F271.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#8B7E31
Tritanopia (blue-blind)
#4B8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e8f27;
/* rgb */ color: rgb(78, 143, 39);
/* oklch */ color: oklch(58.5% 0.152 136.2);
Tailwind
colors: {
  custom: {
    50: '#85b068',
    500: '#4e8f27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f27;
$custom-light: #85b068;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f27",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 97.5,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.1516,
    "h": 136.2
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#4E8F27
secondary
#955AB8
accent
#47E0A7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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