#4D8221#4D8221

#4D8221 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.139 H 134.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D8221
RGBrgb(77, 130, 33)
HSLhsl(93, 60%, 32%)
HSVhsv(93, 75%, 51%)
CMYKcmyk(40.8%, 0%, 74.6%, 49%)
CIE-LABlab(49.07, -34.50, 44.35)
CIE-LCHlch(49.07, 56.19, 127.88°)
OKLaboklab(54.94% -0.0966 0.0998)
OKLCHoklch(54.94% 0.139 134.1)
XYZxyz(11.3175, 17.6523, 4.2495)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8221 #562182
analogous
#7D8221 #4D8221 #218226
triadic
#4D8221 #214D82 #82214D
tetradic
#4D8221 #217D82 #562182 #822621
square
#4D8221 #217D82 #562182 #822621
split-complementary
#4D8221 #262182 #82217D
monochromatic
#132008 #305115 #4D8221 #6AB32D #88D24C

Accessibility & contrast

On white

4.64
#4D8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4D8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8221
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8221#FFFFFF#000000##FFFFFF
##4D82211.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d8221;
/* rgb */ color: rgb(77, 130, 33);
/* oklch */ color: oklch(54.9% 0.139 134.1);
Tailwind
colors: {
  custom: {
    50: '#84a763',
    500: '#4d8221',
    950: '#000000',
  },
}
SCSS
$custom: #4d8221;
$custom-light: #84a763;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8221",
  "rgb": {
    "r": 77,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 92.784,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.13894,
    "h": 134.1
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#4D8221
secondary
#844AB4
accent
#45E39B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8221

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

Preview Lab → · Contrast checker → · Palette generator →

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