#4D801A#4D801A

#4D801A is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.141 H 133.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D801A
RGBrgb(77, 128, 26)
HSLhsl(90, 66%, 30%)
HSVhsv(90, 80%, 50%)
CMYKcmyk(39.8%, 0%, 79.7%, 49.8%)
CIE-LABlab(48.37, -34.06, 46.22)
CIE-LCHlch(48.37, 57.41, 126.39°)
OKLaboklab(54.35% -0.096 0.1026)
OKLCHoklch(54.35% 0.141 133.1)
XYZxyz(10.9660, 17.0902, 3.6980)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D801A #4D1A80
analogous
#80801A #4D801A #1A801A
triadic
#4D801A #1A4D80 #801A4D
tetradic
#4D801A #1A8080 #4D1A80 #801A1A
square
#4D801A #1A8080 #4D1A80 #801A1A
split-complementary
#4D801A #1A1A80 #801A80
monochromatic
#101A05 #2E4D10 #4D801A #6CB324 #8AD83D

Accessibility & contrast

On white

4.75
#4D801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4D801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D801A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D801A#FFFFFF#000000##FFFFFF
##4D801A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#7F7125
Tritanopia (blue-blind)
#4D7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d801a;
/* rgb */ color: rgb(77, 128, 26);
/* oklch */ color: oklch(54.4% 0.141 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a55f',
    500: '#4d801a',
    950: '#000000',
  },
}
SCSS
$custom: #4d801a;
$custom-light: #84a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d801a",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 90,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.14052,
    "h": 133.1
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#4D801A
secondary
#7B42B4
accent
#3FE994
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D801A

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

Preview Lab → · Contrast checker → · Palette generator →

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