#4E8126#4E8126

#4E8126 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.134 H 134.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E8126
RGBrgb(78, 129, 38)
HSLhsl(94, 54%, 33%)
HSVhsv(94, 71%, 51%)
CMYKcmyk(39.5%, 0%, 70.5%, 49.4%)
CIE-LABlab(48.83, -33.30, 42.10)
CIE-LCHlch(48.83, 53.67, 128.34°)
OKLaboklab(54.77% -0.0931 0.0958)
OKLCHoklch(54.77% 0.134 134.2)
XYZxyz(11.3418, 17.4596, 4.6058)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8126 #592681
analogous
#7C8126 #4E8126 #26812B
triadic
#4E8126 #264E81 #81264E
tetradic
#4E8126 #267C81 #592681 #812B26
square
#4E8126 #267C81 #592681 #812B26
split-complementary
#4E8126 #2B2681 #81267C
monochromatic
#15220A #315218 #4E8126 #6BB034 #89CD55

Accessibility & contrast

On white

4.67
#4E8126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8126
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8126#FFFFFF#000000##FFFFFF
##4E81261.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867719
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#4E7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8126;
/* rgb */ color: rgb(78, 129, 38);
/* oklch */ color: oklch(54.8% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#84a666',
    500: '#4e8126',
    950: '#000000',
  },
}
SCSS
$custom: #4e8126;
$custom-light: #84a666;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8126",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 93.626,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.13357,
    "h": 134.2
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#4E8126
secondary
#8751B1
accent
#4ADE9D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E8126

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

Preview Lab → · Contrast checker → · Palette generator →

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