#4D8D19#4D8D19

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

Color values

HEX#4D8D19
RGBrgb(77, 141, 25)
HSLhsl(93, 70%, 33%)
HSVhsv(93, 82%, 55%)
CMYKcmyk(45.4%, 0%, 82.3%, 44.7%)
CIE-LABlab(52.62, -39.74, 50.50)
CIE-LCHlch(52.62, 64.26, 128.20°)
OKLaboklab(57.83% -0.1113 0.1115)
OKLCHoklch(57.83% 0.158 135)
XYZxyz(12.7606, 20.6970, 4.2420)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D19 #59198D
analogous
#878D19 #4D8D19 #198D1F
triadic
#4D8D19 #194D8D #8D194D
tetradic
#4D8D19 #19878D #59198D #8D1F19
square
#4D8D19 #19878D #59198D #8D1F19
split-complementary
#4D8D19 #1F198D #8D1987
monochromatic
#142507 #315910 #4D8D19 #69C122 #88DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D19#FFFFFF#000000##000000
##4D8D191.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)
#8A7C27
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d19;
/* rgb */ color: rgb(77, 141, 25);
/* oklch */ color: oklch(57.8% 0.158 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af61',
    500: '#4d8d19',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d19;
$custom-light: #85af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d19",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 93.103,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.15752,
    "h": 135
  },
  "luminance": 0.20698
}

Semantic roles & 50–950 ramp

primary
#4D8D19
secondary
#8743BF
accent
#3BED9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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