#4E8B26#4E8B26

#4E8B26 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.147 H 135.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E8B26
RGBrgb(78, 139, 38)
HSLhsl(96, 57%, 35%)
HSVhsv(96, 73%, 55%)
CMYKcmyk(43.9%, 0%, 72.7%, 45.5%)
CIE-LABlab(52.09, -37.71, 45.46)
CIE-LCHlch(52.09, 59.07, 129.68°)
OKLaboklab(57.44% -0.105 0.1029)
OKLCHoklch(57.44% 0.147 135.6)
XYZxyz(12.7240, 20.2242, 5.0665)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B26 #63268B
analogous
#808B26 #4E8B26 #268B31
triadic
#4E8B26 #264E8B #8B264E
tetradic
#4E8B26 #26808B #63268B #8B3126
square
#4E8B26 #26808B #63268B #8B3126
split-complementary
#4E8B26 #31268B #8B2680
monochromatic
#182B0C #335B19 #4E8B26 #69BB33 #89D25A

Accessibility & contrast

On white

4.16
#4E8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B26
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B26#FFFFFF#000000##000000
##4E8B261.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#887A2F
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b26;
/* rgb */ color: rgb(78, 139, 38);
/* oklch */ color: oklch(57.4% 0.147 135.6);
Tailwind
colors: {
  custom: {
    50: '#85ad67',
    500: '#4e8b26',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b26;
$custom-light: #85ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b26",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 96.238,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.14702,
    "h": 135.6
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#4E8B26
secondary
#9056B7
accent
#47E0A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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