#4D8014#4D8014

#4D8014 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.144 H 132.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D8014
RGBrgb(77, 128, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 50%)
CMYKcmyk(39.8%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.34, -34.38, 48.07)
CIE-LCHlch(48.34, 59.10, 125.57°)
OKLaboklab(54.32% -0.0972 0.1056)
OKLCHoklch(54.32% 0.144 132.7)
XYZxyz(10.9059, 17.0661, 3.3811)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8014 #471480
analogous
#807D14 #4D8014 #178014
triadic
#4D8014 #144D80 #80144D
tetradic
#4D8014 #14807D #471480 #801417
square
#4D8014 #14807D #471480 #801417
split-complementary
#4D8014 #141780 #7D1480
monochromatic
#101A04 #2D4B0C #4D8014 #6DB51C #8CDF30

Accessibility & contrast

On white

4.76
#4D8014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4D8014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8014
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8014#FFFFFF#000000##FFFFFF
##4D80141.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8014;
/* rgb */ color: rgb(77, 128, 20);
/* oklch */ color: oklch(54.3% 0.144 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a55d',
    500: '#4d8014',
    950: '#000000',
  },
}
SCSS
$custom: #4d8014;
$custom-light: #84a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8014",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 88.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.14351,
    "h": 132.7
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#4D8014
secondary
#743BB5
accent
#38F08F
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8014

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

Preview Lab → · Contrast checker → · Palette generator →

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