#4E8127#4E8127

#4E8127 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.133 H 134.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E8127
RGBrgb(78, 129, 39)
HSLhsl(94, 54%, 33%)
HSVhsv(94, 70%, 51%)
CMYKcmyk(39.5%, 0%, 69.8%, 49.4%)
CIE-LABlab(48.84, -33.21, 41.68)
CIE-LCHlch(48.84, 53.29, 128.55°)
OKLaboklab(54.78% -0.0928 0.0951)
OKLCHoklch(54.78% 0.133 134.3)
XYZxyz(11.3581, 17.4662, 4.6919)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8127 #5A2781
analogous
#7B8127 #4E8127 #27812D
triadic
#4E8127 #274E81 #81274E
tetradic
#4E8127 #277B81 #5A2781 #812D27
square
#4E8127 #277B81 #5A2781 #812D27
split-complementary
#4E8127 #2D2781 #81277B
monochromatic
#15230B #325219 #4E8127 #6AB035 #89CC56

Accessibility & contrast

On white

4.67
#4E8127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8127
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8127#FFFFFF#000000##FFFFFF
##4E81271.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#4D7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8127;
/* rgb */ color: rgb(78, 129, 39);
/* oklch */ color: oklch(54.8% 0.133 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a666',
    500: '#4e8127',
    950: '#000000',
  },
}
SCSS
$custom: #4e8127;
$custom-light: #84a666;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8127",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 94,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.13283,
    "h": 134.3
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#4E8127
secondary
#8853B1
accent
#4BDD9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8127

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

Preview Lab → · Contrast checker → · Palette generator →

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