#4D7416#4D7416

#4D7416 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.127 H 130.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D7416
RGBrgb(77, 116, 22)
HSLhsl(85, 68%, 27%)
HSVhsv(85, 81%, 45%)
CMYKcmyk(33.6%, 0%, 81%, 54.5%)
CIE-LABlab(44.41, -28.76, 43.84)
CIE-LCHlch(44.41, 52.43, 123.27°)
OKLaboklab(51.11% -0.082 0.097)
OKLCHoklch(51.11% 0.127 130.2)
XYZxyz(9.4507, 14.1262, 2.9876)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7416 #3D1674
analogous
#746C16 #4D7416 #1E7416
triadic
#4D7416 #164D74 #74164D
tetradic
#4D7416 #16746C #3D1674 #74161E
square
#4D7416 #16746C #3D1674 #74161E
split-complementary
#4D7416 #161E74 #6C1674
monochromatic
#111A05 #2B410C #4D7416 #6FA720 #91D72D

Accessibility & contrast

On white

5.49
#4D7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4D7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7416
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7416#FFFFFF#000000##FFFFFF
##4D74161.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#4F6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7416;
/* rgb */ color: rgb(77, 116, 22);
/* oklch */ color: oklch(51.1% 0.127 130.2);
Tailwind
colors: {
  custom: {
    50: '#839c5c',
    500: '#4d7416',
    950: '#000000',
  },
}
SCSS
$custom: #4d7416;
$custom-light: #839c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7416",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 84.894,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51113,
    "c": 0.12696,
    "h": 130.2
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#4D7416
secondary
#6A3CAA
accent
#3DEB85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7416

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

Preview Lab → · Contrast checker → · Palette generator →

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