#4D7E16#4D7E16

#4D7E16 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.140 H 132.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4D7E16
RGBrgb(77, 126, 22)
HSLhsl(88, 70%, 29%)
HSVhsv(88, 83%, 49%)
CMYKcmyk(38.9%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.70, -33.38, 46.89)
CIE-LCHlch(47.70, 57.56, 125.45°)
OKLaboklab(53.79% -0.0944 0.1034)
OKLCHoklch(53.79% 0.14 132.4)
XYZxyz(10.6661, 16.5569, 3.3927)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E16 #47167E
analogous
#7E7B16 #4D7E16 #197E16
triadic
#4D7E16 #164D7E #7E164D
tetradic
#4D7E16 #167E7B #47167E #7E1619
square
#4D7E16 #167E7B #47167E #7E1619
split-complementary
#4D7E16 #16197E #7B167E
monochromatic
#101A05 #2D4A0D #4D7E16 #6DB21F #8CDB33

Accessibility & contrast

On white

4.87
#4D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4D7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E16
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E16#FFFFFF#000000##FFFFFF
##4D7E161.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#4E796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e16;
/* rgb */ color: rgb(77, 126, 22);
/* oklch */ color: oklch(53.8% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4d7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e16;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e16",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 88.269,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.14002,
    "h": 132.4
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#4D7E16
secondary
#743DB3
accent
#3BED8F
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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