#4D8622#4D8622

#4D8622 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.144 H 134.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D8622
RGBrgb(77, 134, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(42.5%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.38, -36.19, 45.28)
CIE-LCHlch(50.38, 57.97, 128.63°)
OKLaboklab(56.02% -0.1011 0.1019)
OKLCHoklch(56.02% 0.144 134.8)
XYZxyz(11.8741, 18.7428, 4.5051)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8622 #5B2286
analogous
#7F8622 #4D8622 #228629
triadic
#4D8622 #224D86 #86224D
tetradic
#4D8622 #227F86 #5B2286 #862922
square
#4D8622 #227F86 #5B2286 #862922
split-complementary
#4D8622 #292286 #86227F
monochromatic
#152409 #315516 #4D8622 #69B72E #88D350

Accessibility & contrast

On white

4.42
#4D8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4D8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8622
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8622#FFFFFF#000000##000000
##4D86221.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8622;
/* rgb */ color: rgb(77, 134, 34);
/* oklch */ color: oklch(56.0% 0.144 134.8);
Tailwind
colors: {
  custom: {
    50: '#84aa64',
    500: '#4d8622',
    950: '#000000',
  },
}
SCSS
$custom: #4d8622;
$custom-light: #84aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8622",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 94.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.14359,
    "h": 134.8
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#4D8622
secondary
#894EB6
accent
#45E39F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8622

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

Preview Lab → · Contrast checker → · Palette generator →

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