#4D8015#4D8015

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

Color values

HEX#4D8015
RGBrgb(77, 128, 21)
HSLhsl(89, 72%, 29%)
HSVhsv(89, 84%, 50%)
CMYKcmyk(39.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.35, -34.33, 47.79)
CIE-LCHlch(48.35, 58.84, 125.69°)
OKLaboklab(54.32% -0.097 0.1051)
OKLCHoklch(54.32% 0.143 132.7)
XYZxyz(10.9150, 17.0698, 3.4290)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8015 #481580
analogous
#807E15 #4D8015 #188015
triadic
#4D8015 #154D80 #80154D
tetradic
#4D8015 #15807E #481580 #801518
square
#4D8015 #15807E #481580 #801518
split-complementary
#4D8015 #151880 #7E1580
monochromatic
#101A04 #2D4B0C #4D8015 #6DB51E #8CDD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8015#FFFFFF#000000##FFFFFF
##4D80151.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)
#7F7122
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8015;
/* rgb */ color: rgb(77, 128, 21);
/* oklch */ color: oklch(54.3% 0.143 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a55d',
    500: '#4d8015',
    950: '#000000',
  },
}
SCSS
$custom: #4d8015;
$custom-light: #84a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8015",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 88.598,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.14305,
    "h": 132.7
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#4D8015
secondary
#763CB5
accent
#39EF90
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8015

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

Preview Lab → · Contrast checker → · Palette generator →

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