#4D8013#4D8013

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

Color values

HEX#4D8013
RGBrgb(77, 128, 19)
HSLhsl(88, 74%, 29%)
HSVhsv(88, 85%, 50%)
CMYKcmyk(39.8%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.34, -34.42, 48.35)
CIE-LCHlch(48.34, 59.35, 125.45°)
OKLaboklab(54.31% -0.0974 0.106)
OKLCHoklch(54.31% 0.144 132.6)
XYZxyz(10.8971, 17.0626, 3.3352)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8013 #461380
analogous
#807D13 #4D8013 #178013
triadic
#4D8013 #134D80 #80134D
tetradic
#4D8013 #13807D #461380 #801317
square
#4D8013 #13807D #461380 #801317
split-complementary
#4D8013 #131780 #7D1380
monochromatic
#101B04 #2D4B0B #4D8013 #6DB51B #8CE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d8013;
/* rgb */ color: rgb(77, 128, 19);
/* oklch */ color: oklch(54.3% 0.144 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a55d',
    500: '#4d8013',
    950: '#000000',
  },
}
SCSS
$custom: #4d8013;
$custom-light: #84a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8013",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 88.073,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.14395,
    "h": 132.6
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#4D8013
secondary
#7339B5
accent
#37F18E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8013

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

Preview Lab → · Contrast checker → · Palette generator →

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