#4D821D#4D821D

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

Color values

HEX#4D821D
RGBrgb(77, 130, 29)
HSLhsl(91, 64%, 31%)
HSVhsv(91, 78%, 51%)
CMYKcmyk(40.8%, 0%, 77.7%, 49%)
CIE-LABlab(49.05, -34.77, 45.82)
CIE-LCHlch(49.05, 57.52, 127.19°)
OKLaboklab(54.91% -0.0977 0.1023)
OKLCHoklch(54.91% 0.141 133.7)
XYZxyz(11.2648, 17.6312, 3.9718)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D821D #521D82
analogous
#7F821D #4D821D #1D821F
triadic
#4D821D #1D4D82 #821D4D
tetradic
#4D821D #1D7F82 #521D82 #821F1D
square
#4D821D #1D7F82 #521D82 #821F1D
split-complementary
#4D821D #1F1D82 #821D7F
monochromatic
#121E07 #2F5012 #4D821D #6BB428 #89D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D821D#FFFFFF#000000##FFFFFF
##4D821D1.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)
#877706
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d821d;
/* rgb */ color: rgb(77, 130, 29);
/* oklch */ color: oklch(54.9% 0.141 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a761',
    500: '#4d821d',
    950: '#000000',
  },
}
SCSS
$custom: #4d821d;
$custom-light: #84a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4d821d",
  "rgb": {
    "r": 77,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 91.485,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.14142,
    "h": 133.7
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#4D821D
secondary
#8046B5
accent
#41E798
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D821D

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

Preview Lab → · Contrast checker → · Palette generator →

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