#4D8A19#4D8A19

#4D8A19 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.154 H 134.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8A19
RGBrgb(77, 138, 25)
HSLhsl(92, 69%, 32%)
HSVhsv(92, 82%, 54%)
CMYKcmyk(44.2%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.64, -38.47, 49.60)
CIE-LCHlch(51.64, 62.77, 127.80°)
OKLaboklab(57.03% -0.1079 0.1096)
OKLCHoklch(57.03% 0.154 134.6)
XYZxyz(12.3243, 19.8242, 4.0966)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A19 #56198A
analogous
#868A19 #4D8A19 #198A1D
triadic
#4D8A19 #194D8A #8A194D
tetradic
#4D8A19 #19868A #56198A #8A1D19
square
#4D8A19 #19868A #56198A #8A1D19
split-complementary
#4D8A19 #1D198A #8A1986
monochromatic
#132206 #305610 #4D8A19 #6ABE22 #89DD41

Accessibility & contrast

On white

4.23
#4D8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A19
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A19#FFFFFF#000000##000000
##4D8A191.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a19;
/* rgb */ color: rgb(77, 138, 25);
/* oklch */ color: oklch(57.0% 0.154 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ac60',
    500: '#4d8a19',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a19;
$custom-light: #85ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a19",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 92.389,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.15378,
    "h": 134.6
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#4D8A19
secondary
#8442BD
accent
#3CEC9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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