#4D802D#4D802D

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

Color values

HEX#4D802D
RGBrgb(77, 128, 45)
HSLhsl(97, 48%, 34%)
HSVhsv(97, 65%, 50%)
CMYKcmyk(39.8%, 0%, 64.8%, 49.8%)
CIE-LABlab(48.52, -32.58, 38.63)
CIE-LCHlch(48.52, 50.53, 130.14°)
OKLaboklab(54.52% -0.0905 0.0894)
OKLCHoklch(54.52% 0.127 135.3)
XYZxyz(11.2531, 17.2050, 5.2101)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D802D #602D80
analogous
#77802D #4D802D #2D8036
triadic
#4D802D #2D4D80 #802D4D
tetradic
#4D802D #2D7780 #602D80 #80362D
square
#4D802D #2D7780 #602D80 #80362D
split-complementary
#4D802D #362D80 #802D77
monochromatic
#17250D #32531D #4D802D #68AD3D #88C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d802d;
/* rgb */ color: rgb(77, 128, 45);
/* oklch */ color: oklch(54.5% 0.127 135.3);
Tailwind
colors: {
  custom: {
    50: '#83a56a',
    500: '#4d802d',
    950: '#000000',
  },
}
SCSS
$custom: #4d802d;
$custom-light: #83a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d802d",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 96.867,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.1272,
    "h": 135.3
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#4D802D
secondary
#8E5BAE
accent
#50D8A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D802D

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

Preview Lab → · Contrast checker → · Palette generator →

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