#4E8C26#4E8C26

#4E8C26 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.148 H 135.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E8C26
RGBrgb(78, 140, 38)
HSLhsl(96, 57%, 35%)
HSVhsv(96, 73%, 55%)
CMYKcmyk(44.3%, 0%, 72.9%, 45.1%)
CIE-LABlab(52.41, -38.14, 45.79)
CIE-LCHlch(52.41, 59.59, 129.79°)
OKLaboklab(57.7% -0.1062 0.1036)
OKLCHoklch(57.7% 0.148 135.7)
XYZxyz(12.8695, 20.5151, 5.1150)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C26 #64268C
analogous
#818C26 #4E8C26 #268C31
triadic
#4E8C26 #264E8C #8C264E
tetradic
#4E8C26 #26818C #64268C #8C3126
square
#4E8C26 #26818C #64268C #8C3126
split-complementary
#4E8C26 #31268C #8C2681
monochromatic
#182C0C #335C19 #4E8C26 #69BC33 #89D25A

Accessibility & contrast

On white

4.12
#4E8C26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E8C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C26
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C26#FFFFFF#000000##000000
##4E8C261.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#897B30
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c26;
/* rgb */ color: rgb(78, 140, 38);
/* oklch */ color: oklch(57.7% 0.148 135.7);
Tailwind
colors: {
  custom: {
    50: '#85ae67',
    500: '#4e8c26',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c26;
$custom-light: #85ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c26",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 96.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.14833,
    "h": 135.7
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#4E8C26
secondary
#9157B7
accent
#47E1A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8C26

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

Preview Lab → · Contrast checker → · Palette generator →

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