#4E802A#4E802A

#4E802A is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.129 H 134.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E802A
RGBrgb(78, 128, 42)
HSLhsl(95, 51%, 33%)
HSVhsv(95, 67%, 50%)
CMYKcmyk(39.1%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.54, -32.50, 40.04)
CIE-LCHlch(48.54, 51.57, 129.06°)
OKLaboklab(54.54% -0.0905 0.092)
OKLCHoklch(54.54% 0.129 134.5)
XYZxyz(11.2787, 17.2247, 4.9205)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802A #5C2A80
analogous
#79802A #4E802A #2A8031
triadic
#4E802A #2A4E80 #802A4E
tetradic
#4E802A #2A7980 #5C2A80 #80312A
square
#4E802A #2A7980 #5C2A80 #80312A
split-complementary
#4E802A #312A80 #802A79
monochromatic
#16240C #32521B #4E802A #6AAE39 #89C95B

Accessibility & contrast

On white

4.72
#4E802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E802A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E802A#FFFFFF#000000##FFFFFF
##4E802A1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#4D7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e802a;
/* rgb */ color: rgb(78, 128, 42);
/* oklch */ color: oklch(54.5% 0.129 134.5);
Tailwind
colors: {
  custom: {
    50: '#83a568',
    500: '#4e802a',
    950: '#000000',
  },
}
SCSS
$custom: #4e802a;
$custom-light: #83a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802a",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 94.884,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.12911,
    "h": 134.5
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#4E802A
secondary
#8A57AF
accent
#4EDA9F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E802A

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

Preview Lab → · Contrast checker → · Palette generator →

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