#4C7616#4C7616

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

Color values

HEX#4C7616
RGBrgb(76, 118, 22)
HSLhsl(86, 69%, 27%)
HSVhsv(86, 81%, 46%)
CMYKcmyk(35.6%, 0%, 81.4%, 53.7%)
CIE-LABlab(45.01, -30.10, 44.38)
CIE-LCHlch(45.01, 53.63, 124.15°)
OKLaboklab(51.59% -0.0855 0.0981)
OKLCHoklch(51.59% 0.13 131.1)
XYZxyz(9.6037, 14.5509, 3.0615)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7616 #401676
analogous
#767016 #4C7616 #1C7616
triadic
#4C7616 #164C76 #76164C
tetradic
#4C7616 #167670 #401676 #76161C
square
#4C7616 #167670 #401676 #76161C
split-complementary
#4C7616 #161C76 #701676
monochromatic
#111A05 #2B420C #4C7616 #6DAA20 #8ED82E

Accessibility & contrast

On white

5.37
#4C7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4C7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7616
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7616#FFFFFF#000000##FFFFFF
##4C76161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#4E7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c7616;
/* rgb */ color: rgb(76, 118, 22);
/* oklch */ color: oklch(51.6% 0.130 131.1);
Tailwind
colors: {
  custom: {
    50: '#829e5c',
    500: '#4c7616',
    950: '#000000',
  },
}
SCSS
$custom: #4c7616;
$custom-light: #829e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7616",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 86.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.13016,
    "h": 131.1
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#4C7616
secondary
#6D3CAC
accent
#3CEB89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7616

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

Preview Lab → · Contrast checker → · Palette generator →

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