#4D8819#4D8819

#4D8819 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.151 H 134.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4D8819
RGBrgb(77, 136, 25)
HSLhsl(92, 69%, 32%)
HSVhsv(92, 82%, 53%)
CMYKcmyk(43.4%, 0%, 81.6%, 46.7%)
CIE-LABlab(50.98, -37.62, 49.00)
CIE-LCHlch(50.98, 61.77, 127.52°)
OKLaboklab(56.49% -0.1056 0.1083)
OKLCHoklch(56.49% 0.151 134.3)
XYZxyz(12.0400, 19.2556, 4.0018)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8819 #541988
analogous
#858819 #4D8819 #19881D
triadic
#4D8819 #194D88 #88194D
tetradic
#4D8819 #198588 #541988 #881D19
square
#4D8819 #198588 #541988 #881D19
split-complementary
#4D8819 #1D1988 #881985
monochromatic
#122106 #30540F #4D8819 #6ABC23 #89DC40

Accessibility & contrast

On white

4.33
#4D8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4D8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8819
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8819#FFFFFF#000000##000000
##4D88191.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#4C8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8819;
/* rgb */ color: rgb(77, 136, 25);
/* oklch */ color: oklch(56.5% 0.151 134.3);
Tailwind
colors: {
  custom: {
    50: '#85ab60',
    500: '#4d8819',
    950: '#000000',
  },
}
SCSS
$custom: #4d8819;
$custom-light: #85ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8819",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 91.892,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.15127,
    "h": 134.3
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#4D8819
secondary
#8241BB
accent
#3CEC99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8819

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

Preview Lab → · Contrast checker → · Palette generator →

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