#4E8A26#4E8A26

#4E8A26 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.146 H 135.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E8A26
RGBrgb(78, 138, 38)
HSLhsl(96, 57%, 35%)
HSVhsv(96, 72%, 54%)
CMYKcmyk(43.5%, 0%, 72.5%, 45.9%)
CIE-LABlab(51.76, -37.28, 45.13)
CIE-LCHlch(51.76, 58.53, 129.56°)
OKLaboklab(57.17% -0.1039 0.1022)
OKLCHoklch(57.17% 0.146 135.5)
XYZxyz(12.5799, 19.9359, 5.0185)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A26 #62268A
analogous
#808A26 #4E8A26 #268A30
triadic
#4E8A26 #264E8A #8A264E
tetradic
#4E8A26 #26808A #62268A #8A3026
square
#4E8A26 #26808A #62268A #8A3026
split-complementary
#4E8A26 #30268A #8A2680
monochromatic
#182A0C #335A19 #4E8A26 #69BA33 #89D159

Accessibility & contrast

On white

4.21
#4E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A26
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A26#FFFFFF#000000##000000
##4E8A261.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F16
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e8a26;
/* rgb */ color: rgb(78, 138, 38);
/* oklch */ color: oklch(57.2% 0.146 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ac67',
    500: '#4e8a26',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a26;
$custom-light: #85ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a26",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 96,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.1457,
    "h": 135.5
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#4E8A26
secondary
#9056B6
accent
#48E0A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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