#4E8727#4E8727

#4E8727 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.141 H 135.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E8727
RGBrgb(78, 135, 39)
HSLhsl(96, 55%, 34%)
HSVhsv(96, 71%, 53%)
CMYKcmyk(42.2%, 0%, 71.1%, 47.1%)
CIE-LABlab(50.80, -35.89, 43.72)
CIE-LCHlch(50.80, 56.57, 129.38°)
OKLaboklab(56.38% -0.1 0.0994)
OKLCHoklch(56.38% 0.141 135.2)
XYZxyz(12.1718, 19.0935, 4.9631)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8727 #602787
analogous
#7E8727 #4E8727 #278730
triadic
#4E8727 #274E87 #87274E
tetradic
#4E8727 #277E87 #602787 #873027
square
#4E8727 #277E87 #602787 #873027
split-complementary
#4E8727 #302787 #87277E
monochromatic
#17280C #335819 #4E8727 #69B635 #89CF59

Accessibility & contrast

On white

4.36
#4E8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8727
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8727#FFFFFF#000000##000000
##4E87271.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#4D8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8727;
/* rgb */ color: rgb(78, 135, 39);
/* oklch */ color: oklch(56.4% 0.141 135.2);
Tailwind
colors: {
  custom: {
    50: '#84aa67',
    500: '#4e8727',
    950: '#000000',
  },
}
SCSS
$custom: #4e8727;
$custom-light: #84aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8727",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 95.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.141,
    "h": 135.2
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#4E8727
secondary
#8E56B4
accent
#49DFA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8727

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

Preview Lab → · Contrast checker → · Palette generator →

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