#4E8826#4E8826

#4E8826 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.143 H 135.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E8826
RGBrgb(78, 136, 38)
HSLhsl(96, 56%, 34%)
HSVhsv(96, 72%, 53%)
CMYKcmyk(42.6%, 0%, 72.1%, 46.7%)
CIE-LABlab(51.11, -36.41, 44.46)
CIE-LCHlch(51.11, 57.47, 129.31°)
OKLaboklab(56.64% -0.1015 0.1008)
OKLCHoklch(56.64% 0.143 135.2)
XYZxyz(12.2956, 19.3673, 4.9237)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8826 #602688
analogous
#7F8826 #4E8826 #26882F
triadic
#4E8826 #264E88 #88264E
tetradic
#4E8826 #267F88 #602688 #882F26
square
#4E8826 #267F88 #602688 #882F26
split-complementary
#4E8826 #2F2688 #88267F
monochromatic
#17280B #335819 #4E8826 #69B833 #89D058

Accessibility & contrast

On white

4.31
#4E8826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8826
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8826#FFFFFF#000000##000000
##4E88261.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#4D8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8826;
/* rgb */ color: rgb(78, 136, 38);
/* oklch */ color: oklch(56.6% 0.143 135.2);
Tailwind
colors: {
  custom: {
    50: '#85ab66',
    500: '#4e8826',
    950: '#000000',
  },
}
SCSS
$custom: #4e8826;
$custom-light: #85ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8826",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 95.51,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.14303,
    "h": 135.2
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#4E8826
secondary
#8E55B5
accent
#48E0A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8826

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

Preview Lab → · Contrast checker → · Palette generator →

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