#4D8219#4D8219

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

Color values

HEX#4D8219
RGBrgb(77, 130, 25)
HSLhsl(90, 68%, 30%)
HSVhsv(90, 81%, 51%)
CMYKcmyk(40.8%, 0%, 80.8%, 49%)
CIE-LABlab(49.02, -35.01, 47.17)
CIE-LCHlch(49.02, 58.74, 126.58°)
OKLaboklab(54.88% -0.0986 0.1044)
OKLCHoklch(54.88% 0.144 133.4)
XYZxyz(11.2185, 17.6127, 3.7280)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8219 #4E1982
analogous
#818219 #4D8219 #19821A
triadic
#4D8219 #194D82 #82194D
tetradic
#4D8219 #198182 #4E1982 #821A19
square
#4D8219 #198182 #4E1982 #821A19
split-complementary
#4D8219 #1A1982 #821981
monochromatic
#101B05 #2F4F0F #4D8219 #6BB523 #8AD93C

Accessibility & contrast

On white

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

On black

4.52
#4D8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D8219#FFFFFF#000000##FFFFFF
##4D82191.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8219;
/* rgb */ color: rgb(77, 130, 25);
/* oklch */ color: oklch(54.9% 0.144 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a75f',
    500: '#4d8219',
    950: '#000000',
  },
}
SCSS
$custom: #4d8219;
$custom-light: #84a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8219",
  "rgb": {
    "r": 77,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 90.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.14363,
    "h": 133.4
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#4D8219
secondary
#7C41B6
accent
#3DEB95
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8219

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

Preview Lab → · Contrast checker → · Palette generator →

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