#4E8120#4E8120

#4E8120 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.138 H 133.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8120
RGBrgb(78, 129, 32)
HSLhsl(92, 60%, 32%)
HSVhsv(92, 75%, 51%)
CMYKcmyk(39.5%, 0%, 75.2%, 49.4%)
CIE-LABlab(48.79, -33.75, 44.47)
CIE-LCHlch(48.79, 55.83, 127.20°)
OKLaboklab(54.72% -0.0948 0.0999)
OKLCHoklch(54.72% 0.138 133.5)
XYZxyz(11.2527, 17.4240, 4.1365)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8120 #532081
analogous
#7F8120 #4E8120 #208123
triadic
#4E8120 #204E81 #81204E
tetradic
#4E8120 #207F81 #532081 #812320
square
#4E8120 #207F81 #532081 #812320
split-complementary
#4E8120 #232081 #81207F
monochromatic
#131F08 #305014 #4E8120 #6CB22C #8AD249

Accessibility & contrast

On white

4.68
#4E8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E8120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8120
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8120#FFFFFF#000000##FFFFFF
##4E81201.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8120;
/* rgb */ color: rgb(78, 129, 32);
/* oklch */ color: oklch(54.7% 0.138 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a662',
    500: '#4e8120',
    950: '#000000',
  },
}
SCSS
$custom: #4e8120;
$custom-light: #84a662;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8120",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 91.546,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.13771,
    "h": 133.5
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#4E8120
secondary
#8149B4
accent
#44E398
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E8120

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

Preview Lab → · Contrast checker → · Palette generator →

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