#4D802A#4D802A

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

Color values

HEX#4D802A
RGBrgb(77, 128, 42)
HSLhsl(96, 51%, 33%)
HSVhsv(96, 67%, 50%)
CMYKcmyk(39.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.49, -32.86, 39.97)
CIE-LCHlch(48.49, 51.74, 129.43°)
OKLaboklab(54.49% -0.0915 0.0919)
OKLCHoklch(54.49% 0.13 134.9)
XYZxyz(11.1974, 17.1827, 4.9166)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D802A #5D2A80
analogous
#78802A #4D802A #2A8032
triadic
#4D802A #2A4D80 #802A4D
tetradic
#4D802A #2A7880 #5D2A80 #80322A
square
#4D802A #2A7880 #5D2A80 #80322A
split-complementary
#4D802A #322A80 #802A78
monochromatic
#16240C #31521B #4D802A #69AE39 #88C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D802A#FFFFFF#000000##FFFFFF
##4D802A1.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)
#85761F
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#4C7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d802a;
/* rgb */ color: rgb(77, 128, 42);
/* oklch */ color: oklch(54.5% 0.130 134.9);
Tailwind
colors: {
  custom: {
    50: '#83a568',
    500: '#4d802a',
    950: '#000000',
  },
}
SCSS
$custom: #4d802a;
$custom-light: #83a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4d802a",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 95.581,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54486,
    "c": 0.12966,
    "h": 134.9
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#4D802A
secondary
#8B57AF
accent
#4EDAA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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