#4D7616#4D7616

#4D7616 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.130 H 130.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4D7616
RGBrgb(77, 118, 22)
HSLhsl(86, 69%, 27%)
HSVhsv(86, 81%, 46%)
CMYKcmyk(34.7%, 0%, 81.4%, 53.7%)
CIE-LABlab(45.07, -29.71, 44.45)
CIE-LCHlch(45.07, 53.47, 123.75°)
OKLaboklab(51.65% -0.0845 0.0983)
OKLCHoklch(51.65% 0.13 130.7)
XYZxyz(9.6838, 14.5922, 3.0653)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7616 #3F1676
analogous
#766F16 #4D7616 #1D7616
triadic
#4D7616 #164D76 #76164D
tetradic
#4D7616 #16766F #3F1676 #76161D
square
#4D7616 #16766F #3F1676 #76161D
split-complementary
#4D7616 #161D76 #6F1676
monochromatic
#111A05 #2B420C #4D7616 #6FAA20 #90D82E

Accessibility & contrast

On white

5.36
#4D7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7616
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7616#FFFFFF#000000##FFFFFF
##4D76161.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#4F7164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d7616;
/* rgb */ color: rgb(77, 118, 22);
/* oklch */ color: oklch(51.6% 0.130 130.7);
Tailwind
colors: {
  custom: {
    50: '#839e5c',
    500: '#4d7616',
    950: '#000000',
  },
}
SCSS
$custom: #4d7616;
$custom-light: #839e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7616",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 85.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.1296,
    "h": 130.7
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#4D7616
secondary
#6C3CAC
accent
#3CEB87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7616

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

Preview Lab → · Contrast checker → · Palette generator →

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