#4E8C27#4E8C27

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

Color values

HEX#4E8C27
RGBrgb(78, 140, 39)
HSLhsl(97, 56%, 35%)
HSVhsv(97, 72%, 55%)
CMYKcmyk(44.3%, 0%, 72.1%, 45.1%)
CIE-LABlab(52.42, -38.06, 45.40)
CIE-LCHlch(52.42, 59.25, 129.97°)
OKLaboklab(57.71% -0.1059 0.1029)
OKLCHoklch(57.71% 0.148 135.8)
XYZxyz(12.8859, 20.5216, 5.2011)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C27 #65278C
analogous
#808C27 #4E8C27 #278C33
triadic
#4E8C27 #274E8C #8C274E
tetradic
#4E8C27 #27808C #65278C #8C3327
square
#4E8C27 #27808C #65278C #8C3327
split-complementary
#4E8C27 #33278C #8C2780
monochromatic
#192C0C #335C1A #4E8C27 #69BC34 #89D25C

Accessibility & contrast

On white

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

On black

5.10
#4E8C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C27
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C27#FFFFFF#000000##000000
##4E8C271.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8c27;
/* rgb */ color: rgb(78, 140, 39);
/* oklch */ color: oklch(57.7% 0.148 135.8);
Tailwind
colors: {
  custom: {
    50: '#85ae67',
    500: '#4e8c27',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c27;
$custom-light: #85ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c27",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 96.832,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.14766,
    "h": 135.8
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#4E8C27
secondary
#9258B7
accent
#48E0A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8C27

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

Preview Lab → · Contrast checker → · Palette generator →

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