#4D8628#4D8628

#4D8628 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.139 H 135.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D8628
RGBrgb(77, 134, 40)
HSLhsl(96, 54%, 34%)
HSVhsv(96, 70%, 53%)
CMYKcmyk(42.5%, 0%, 70.1%, 47.5%)
CIE-LABlab(50.43, -35.72, 42.91)
CIE-LCHlch(50.43, 55.83, 129.78°)
OKLaboklab(56.07% -0.0994 0.0978)
OKLCHoklch(56.07% 0.139 135.5)
XYZxyz(11.9684, 18.7805, 5.0014)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8628 #612886
analogous
#7C8628 #4D8628 #288632
triadic
#4D8628 #284D86 #86284D
tetradic
#4D8628 #287C86 #612886 #863228
square
#4D8628 #287C86 #612886 #863228
split-complementary
#4D8628 #322886 #86287C
monochromatic
#17280C #32571A #4D8628 #68B536 #88CE5B

Accessibility & contrast

On white

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

On black

4.76
#4D8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8628
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8628#FFFFFF#000000##000000
##4D86281.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#4B8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d8628;
/* rgb */ color: rgb(77, 134, 40);
/* oklch */ color: oklch(56.1% 0.139 135.5);
Tailwind
colors: {
  custom: {
    50: '#84aa67',
    500: '#4d8628',
    950: '#000000',
  },
}
SCSS
$custom: #4d8628;
$custom-light: #84aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8628",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 96.383,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.13947,
    "h": 135.5
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#4D8628
secondary
#8F57B3
accent
#4ADDA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8628

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

Preview Lab → · Contrast checker → · Palette generator →

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