#4D7A16#4D7A16

#4D7A16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.135 H 131.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4D7A16
RGBrgb(77, 122, 22)
HSLhsl(87, 69%, 28%)
HSVhsv(87, 82%, 48%)
CMYKcmyk(36.9%, 0%, 82%, 52.2%)
CIE-LABlab(46.38, -31.57, 45.67)
CIE-LCHlch(46.38, 55.52, 124.65°)
OKLaboklab(52.72% -0.0895 0.1008)
OKLCHoklch(52.72% 0.135 131.6)
XYZxyz(10.1648, 15.5544, 3.2256)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A16 #43167A
analogous
#7A7516 #4D7A16 #1B7A16
triadic
#4D7A16 #164D7A #7A164D
tetradic
#4D7A16 #167A75 #43167A #7A161B
square
#4D7A16 #167A75 #43167A #7A161B
split-complementary
#4D7A16 #161B7A #75167A
monochromatic
#101A05 #2C460D #4D7A16 #6EAE1F #8EDA31

Accessibility & contrast

On white

5.11
#4D7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4D7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7A16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A16#FFFFFF#000000##FFFFFF
##4D7A161.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#4E7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a16;
/* rgb */ color: rgb(77, 122, 22);
/* oklch */ color: oklch(52.7% 0.135 131.6);
Tailwind
colors: {
  custom: {
    50: '#83a15d',
    500: '#4d7a16',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a16;
$custom-light: #83a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a16",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 87,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.13483,
    "h": 131.6
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#4D7A16
secondary
#703DAF
accent
#3CEC8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4D7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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