#4E8226#4E8226

#4E8226 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.135 H 134.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E8226
RGBrgb(78, 130, 38)
HSLhsl(94, 55%, 33%)
HSVhsv(94, 71%, 51%)
CMYKcmyk(40%, 0%, 70.8%, 49%)
CIE-LABlab(49.16, -33.75, 42.44)
CIE-LCHlch(49.16, 54.22, 128.49°)
OKLaboklab(55.04% -0.0943 0.0965)
OKLCHoklch(55.04% 0.135 134.3)
XYZxyz(11.4741, 17.7243, 4.6499)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8226 #5A2682
analogous
#7C8226 #4E8226 #26822C
triadic
#4E8226 #264E82 #82264E
tetradic
#4E8226 #267C82 #5A2682 #822C26
square
#4E8226 #267C82 #5A2682 #822C26
split-complementary
#4E8226 #2C2682 #82267C
monochromatic
#15230A #325318 #4E8226 #6AB134 #89CD55

Accessibility & contrast

On white

4.62
#4E8226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4E8226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8226
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8226#FFFFFF#000000##FFFFFF
##4E82261.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877818
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8226;
/* rgb */ color: rgb(78, 130, 38);
/* oklch */ color: oklch(55.0% 0.135 134.3);
Tailwind
colors: {
  custom: {
    50: '#84a766',
    500: '#4e8226',
    950: '#000000',
  },
}
SCSS
$custom: #4e8226;
$custom-light: #84a766;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8226",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 93.913,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55037,
    "c": 0.13494,
    "h": 134.3
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#4E8226
secondary
#8852B2
accent
#4ADE9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8226

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

Preview Lab → · Contrast checker → · Palette generator →

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