#4E802E#4E802E

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

Color values

HEX#4E802E
RGBrgb(78, 128, 46)
HSLhsl(97, 47%, 34%)
HSVhsv(97, 64%, 50%)
CMYKcmyk(39.1%, 0%, 64.1%, 49.8%)
CIE-LABlab(48.58, -32.11, 38.24)
CIE-LCHlch(48.58, 49.94, 130.02°)
OKLaboklab(54.58% -0.0892 0.0887)
OKLCHoklch(54.58% 0.126 135.1)
XYZxyz(11.3539, 17.2548, 5.3165)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802E #602E80
analogous
#77802E #4E802E #2E8037
triadic
#4E802E #2E4E80 #802E4E
tetradic
#4E802E #2E7780 #602E80 #80372E
square
#4E802E #2E7780 #602E80 #80372E
split-complementary
#4E802E #372E80 #802E77
monochromatic
#17260E #33531E #4E802E #69AD3E #89C762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E802E#FFFFFF#000000##FFFFFF
##4E802E1.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)
#857624
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#4D7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e802e;
/* rgb */ color: rgb(78, 128, 46);
/* oklch */ color: oklch(54.6% 0.126 135.1);
Tailwind
colors: {
  custom: {
    50: '#83a56a',
    500: '#4e802e',
    950: '#000000',
  },
}
SCSS
$custom: #4e802e;
$custom-light: #83a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802e",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 96.585,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.12579,
    "h": 135.1
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#4E802E
secondary
#8E5DAD
accent
#51D7A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E802E

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

Preview Lab → · Contrast checker → · Palette generator →

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