#4E8726#4E8726

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

Color values

HEX#4E8726
RGBrgb(78, 135, 38)
HSLhsl(95, 56%, 34%)
HSVhsv(95, 72%, 53%)
CMYKcmyk(42.2%, 0%, 71.9%, 47.1%)
CIE-LABlab(50.79, -35.97, 44.13)
CIE-LCHlch(50.79, 56.93, 129.19°)
OKLaboklab(56.37% -0.1003 0.1001)
OKLCHoklch(56.37% 0.142 135.1)
XYZxyz(12.1554, 19.0869, 4.8770)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8726 #5F2687
analogous
#7F8726 #4E8726 #26872F
triadic
#4E8726 #264E87 #87264E
tetradic
#4E8726 #267F87 #5F2687 #872F26
square
#4E8726 #267F87 #5F2687 #872F26
split-complementary
#4E8726 #2F2687 #87267F
monochromatic
#17270B #325719 #4E8726 #6AB733 #89D058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8726#FFFFFF#000000##000000
##4E87261.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)
#8C7C17
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#4D8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8726;
/* rgb */ color: rgb(78, 135, 38);
/* oklch */ color: oklch(56.4% 0.142 135.1);
Tailwind
colors: {
  custom: {
    50: '#84aa66',
    500: '#4e8726',
    950: '#000000',
  },
}
SCSS
$custom: #4e8726;
$custom-light: #84aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8726",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 95.258,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.1417,
    "h": 135.1
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#4E8726
secondary
#8D54B5
accent
#48DFA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8726

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

Preview Lab → · Contrast checker → · Palette generator →

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