#4D7016#4D7016

#4D7016 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.122 H 129.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4D7016
RGBrgb(77, 112, 22)
HSLhsl(83, 67%, 26%)
HSVhsv(83, 80%, 44%)
CMYKcmyk(31.2%, 0%, 80.4%, 56.1%)
CIE-LABlab(43.10, -26.84, 42.60)
CIE-LCHlch(43.10, 50.35, 122.22°)
OKLaboklab(50.04% -0.0768 0.0944)
OKLCHoklch(50.04% 0.122 129.1)
XYZxyz(8.9995, 13.2238, 2.8372)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7016 #391670
analogous
#706616 #4D7016 #207016
triadic
#4D7016 #164D70 #70164D
tetradic
#4D7016 #167066 #391670 #701620
square
#4D7016 #167066 #391670 #701620
split-complementary
#4D7016 #162070 #661670
monochromatic
#121A05 #2A3D0C #4D7016 #70A320 #93D52B

Accessibility & contrast

On white

5.76
#4D7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7016
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7016#FFFFFF#000000##FFFFFF
##4D70161.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#506B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d7016;
/* rgb */ color: rgb(77, 112, 22);
/* oklch */ color: oklch(50.0% 0.122 129.1);
Tailwind
colors: {
  custom: {
    50: '#82995b',
    500: '#4d7016',
    950: '#000000',
  },
}
SCSS
$custom: #4d7016;
$custom-light: #82995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7016",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 83.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.12164,
    "h": 129.1
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#4D7016
secondary
#653CA6
accent
#3EEA81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7016

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

Preview Lab → · Contrast checker → · Palette generator →

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