#4D802C#4D802C

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

Color values

HEX#4D802C
RGBrgb(77, 128, 44)
HSLhsl(96, 49%, 34%)
HSVhsv(96, 66%, 50%)
CMYKcmyk(39.8%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.51, -32.67, 39.08)
CIE-LCHlch(48.51, 50.94, 129.90°)
OKLaboklab(54.51% -0.0908 0.0903)
OKLCHoklch(54.51% 0.128 135.2)
XYZxyz(11.2341, 17.1974, 5.1099)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D802C #5F2C80
analogous
#77802C #4D802C #2C8035
triadic
#4D802C #2C4D80 #802C4D
tetradic
#4D802C #2C7780 #5F2C80 #80352C
square
#4D802C #2C7780 #5F2C80 #80352C
split-complementary
#4D802C #352C80 #802C77
monochromatic
#16250D #32521C #4D802C #68AE3C #88C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D802C#FFFFFF#000000##FFFFFF
##4D802C1.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)
#857622
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#4C7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d802c;
/* rgb */ color: rgb(77, 128, 44);
/* oklch */ color: oklch(54.5% 0.128 135.2);
Tailwind
colors: {
  custom: {
    50: '#83a569',
    500: '#4d802c',
    950: '#000000',
  },
}
SCSS
$custom: #4d802c;
$custom-light: #83a569;
$custom-dark: #000000;
JSON
{
  "hex": "#4d802c",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 96.429,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.12804,
    "h": 135.2
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#4D802C
secondary
#8D5AAE
accent
#4FD8A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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