#4D8F18#4D8F18

#4D8F18 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.160 H 135.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D8F18
RGBrgb(77, 143, 24)
HSLhsl(93, 71%, 33%)
HSVhsv(93, 83%, 56%)
CMYKcmyk(46.2%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.26, -40.62, 51.39)
CIE-LCHlch(53.26, 65.50, 128.32°)
OKLaboklab(58.36% -0.1137 0.1132)
OKLCHoklch(58.36% 0.16 135.1)
XYZxyz(13.0476, 21.2879, 4.2854)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F18 #5A188F
analogous
#888F18 #4D8F18 #188F1E
triadic
#4D8F18 #184D8F #8F184D
tetradic
#4D8F18 #18888F #5A188F #8F1E18
square
#4D8F18 #18888F #5A188F #8F1E18
split-complementary
#4D8F18 #1E188F #8F1888
monochromatic
#152606 #315B0F #4D8F18 #69C321 #88DF42

Accessibility & contrast

On white

3.99
#4D8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F18
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F18#FFFFFF#000000##000000
##4D8F181.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f18;
/* rgb */ color: rgb(77, 143, 24);
/* oklch */ color: oklch(58.4% 0.160 135.1);
Tailwind
colors: {
  custom: {
    50: '#85b061',
    500: '#4d8f18',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f18;
$custom-light: #85b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f18",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 93.277,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.16045,
    "h": 135.1
  },
  "luminance": 0.21289
}

Semantic roles & 50–950 ramp

primary
#4D8F18
secondary
#8843C0
accent
#3AEE9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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