#4D8D18#4D8D18

#4D8D18 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.158 H 134.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D8D18
RGBrgb(77, 141, 24)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 55%)
CMYKcmyk(45.4%, 0%, 83%, 44.7%)
CIE-LABlab(52.61, -39.79, 50.79)
CIE-LCHlch(52.61, 64.52, 128.07°)
OKLaboklab(57.82% -0.1115 0.1119)
OKLCHoklch(57.82% 0.158 134.9)
XYZxyz(12.7500, 20.6927, 4.1862)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D18 #58188D
analogous
#878D18 #4D8D18 #188D1E
triadic
#4D8D18 #184D8D #8D184D
tetradic
#4D8D18 #18878D #58188D #8D1E18
square
#4D8D18 #18878D #58188D #8D1E18
split-complementary
#4D8D18 #1E188D #8D1887
monochromatic
#142406 #30590F #4D8D18 #6AC121 #88DF41

Accessibility & contrast

On white

4.09
#4D8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D18
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D18#FFFFFF#000000##000000
##4D8D181.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d18;
/* rgb */ color: rgb(77, 141, 24);
/* oklch */ color: oklch(57.8% 0.158 134.9);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4d8d18',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d18;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d18",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 92.821,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.15799,
    "h": 134.9
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#4D8D18
secondary
#8642BF
accent
#3AEE9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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