#4E802D#4E802D

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

Color values

HEX#4E802D
RGBrgb(78, 128, 45)
HSLhsl(96, 48%, 34%)
HSVhsv(96, 65%, 50%)
CMYKcmyk(39.1%, 0%, 64.8%, 49.8%)
CIE-LABlab(48.57, -32.21, 38.70)
CIE-LCHlch(48.57, 50.35, 129.77°)
OKLaboklab(54.57% -0.0895 0.0896)
OKLCHoklch(54.57% 0.127 135)
XYZxyz(11.3345, 17.2470, 5.2139)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E802D #5F2D80
analogous
#78802D #4E802D #2D8036
triadic
#4E802D #2D4E80 #802D4E
tetradic
#4E802D #2D7880 #5F2D80 #80362D
square
#4E802D #2D7880 #5F2D80 #80362D
split-complementary
#4E802D #362D80 #802D78
monochromatic
#17250D #32531D #4E802D #6AAD3D #89C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4e802d;
/* rgb */ color: rgb(78, 128, 45);
/* oklch */ color: oklch(54.6% 0.127 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a56a',
    500: '#4e802d',
    950: '#000000',
  },
}
SCSS
$custom: #4e802d;
$custom-light: #83a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e802d",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 96.145,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.12665,
    "h": 135
  },
  "luminance": 0.17248
}

Semantic roles & 50–950 ramp

primary
#4E802D
secondary
#8D5BAE
accent
#50D8A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E802D

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

Preview Lab → · Contrast checker → · Palette generator →

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