#4D8F19#4D8F19

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

Color values

HEX#4D8F19
RGBrgb(77, 143, 25)
HSLhsl(94, 70%, 33%)
HSVhsv(94, 83%, 56%)
CMYKcmyk(46.2%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.27, -40.57, 51.10)
CIE-LCHlch(53.27, 65.25, 128.45°)
OKLaboklab(58.36% -0.1136 0.1127)
OKLCHoklch(58.36% 0.16 135.2)
XYZxyz(13.0582, 21.2921, 4.3412)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F19 #5B198F
analogous
#888F19 #4D8F19 #198F20
triadic
#4D8F19 #194D8F #8F194D
tetradic
#4D8F19 #19888F #5B198F #8F2019
square
#4D8F19 #19888F #5B198F #8F2019
split-complementary
#4D8F19 #20198F #8F1988
monochromatic
#152707 #315B10 #4D8F19 #69C322 #88DE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8F19#FFFFFF#000000##000000
##4D8F191.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)
#8C7D27
Tritanopia (blue-blind)
#4B897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f19;
/* rgb */ color: rgb(77, 143, 25);
/* oklch */ color: oklch(58.4% 0.160 135.2);
Tailwind
colors: {
  custom: {
    50: '#85b061',
    500: '#4d8f19',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f19;
$custom-light: #85b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f19",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 93.559,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.16,
    "h": 135.2
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#4D8F19
secondary
#8944BF
accent
#3BED9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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