#4D802B#4D802B

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

Color values

HEX#4D802B
RGBrgb(77, 128, 43)
HSLhsl(96, 50%, 34%)
HSVhsv(96, 66%, 50%)
CMYKcmyk(39.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(48.50, -32.77, 39.53)
CIE-LCHlch(48.50, 51.34, 129.66°)
OKLaboklab(54.5% -0.0911 0.0911)
OKLCHoklch(54.5% 0.129 135)
XYZxyz(11.2155, 17.1900, 5.0121)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D802B #5E2B80
analogous
#77802B #4D802B #2B8033
triadic
#4D802B #2B4D80 #802B4D
tetradic
#4D802B #2B7780 #5E2B80 #80332B
square
#4D802B #2B7780 #5E2B80 #80332B
split-complementary
#4D802B #332B80 #802B77
monochromatic
#16240C #31521C #4D802B #69AE3A #88C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D802B#FFFFFF#000000##FFFFFF
##4D802B1.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)
#857620
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#4C7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d802b;
/* rgb */ color: rgb(77, 128, 43);
/* oklch */ color: oklch(54.5% 0.129 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a568',
    500: '#4d802b',
    950: '#000000',
  },
}
SCSS
$custom: #4d802b;
$custom-light: #83a568;
$custom-dark: #000000;
JSON
{
  "hex": "#4d802b",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 96,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.12886,
    "h": 135
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#4D802B
secondary
#8C58AE
accent
#4FD9A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D802B

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

Preview Lab → · Contrast checker → · Palette generator →

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