#4E802F#4E802F

#4E802F is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.125 H 135.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E802F
RGBrgb(78, 128, 47)
HSLhsl(97, 46%, 34%)
HSVhsv(97, 63%, 50%)
CMYKcmyk(39.1%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.59, -32.01, 37.78)
CIE-LCHlch(48.59, 49.52, 130.27°)
OKLaboklab(54.6% -0.0888 0.0879)
OKLCHoklch(54.6% 0.125 135.3)
XYZxyz(11.3739, 17.2627, 5.4215)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802F #612F80
analogous
#77802F #4E802F #2F8039
triadic
#4E802F #2F4E80 #802F4E
tetradic
#4E802F #2F7780 #612F80 #80392F
square
#4E802F #2F7780 #612F80 #80392F
split-complementary
#4E802F #392F80 #802F77
monochromatic
#17260E #33531F #4E802F #69AD3F #89C663

Accessibility & contrast

On white

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

On black

4.45
#4E802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E802F#FFFFFF#000000##FFFFFF
##4E802F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#4D7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e802f;
/* rgb */ color: rgb(78, 128, 47);
/* oklch */ color: oklch(54.6% 0.125 135.3);
Tailwind
colors: {
  custom: {
    50: '#83a56b',
    500: '#4e802f',
    950: '#000000',
  },
}
SCSS
$custom: #4e802f;
$custom-light: #83a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802f",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 97.037,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.12493,
    "h": 135.3
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#4E802F
secondary
#8F5EAD
accent
#52D6A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E802F

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

Preview Lab → · Contrast checker → · Palette generator →

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