#4D802E#4D802E

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

Color values

HEX#4D802E
RGBrgb(77, 128, 46)
HSLhsl(97, 47%, 34%)
HSVhsv(97, 64%, 50%)
CMYKcmyk(39.8%, 0%, 64.1%, 49.8%)
CIE-LABlab(48.53, -32.48, 38.17)
CIE-LCHlch(48.53, 50.12, 130.39°)
OKLaboklab(54.53% -0.0901 0.0886)
OKLCHoklch(54.53% 0.126 135.5)
XYZxyz(11.2726, 17.2128, 5.3127)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D802E #612E80
analogous
#76802E #4D802E #2E8038
triadic
#4D802E #2E4D80 #802E4D
tetradic
#4D802E #2E7680 #612E80 #80382E
square
#4D802E #2E7680 #612E80 #80382E
split-complementary
#4D802E #382E80 #802E76
monochromatic
#17260E #32531E #4D802E #68AD3E #88C762

Accessibility & contrast

On white

4.73
#4D802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D802E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D802E#FFFFFF#000000##FFFFFF
##4D802E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7D7234
Tritanopia (blue-blind)
#4C7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d802e;
/* rgb */ color: rgb(77, 128, 46);
/* oklch */ color: oklch(54.5% 0.126 135.5);
Tailwind
colors: {
  custom: {
    50: '#83a56a',
    500: '#4d802e',
    950: '#000000',
  },
}
SCSS
$custom: #4d802e;
$custom-light: #83a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d802e",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 97.317,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.12636,
    "h": 135.5
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#4D802E
secondary
#8F5DAD
accent
#51D7A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D802E

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

Preview Lab → · Contrast checker → · Palette generator →

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