#4C6516#4C6516

#4C6516 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.0% C 0.107 H 125.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4C6516
RGBrgb(76, 101, 22)
HSLhsl(79, 64%, 24%)
HSVhsv(79, 78%, 40%)
CMYKcmyk(24.8%, 0%, 78.2%, 60.4%)
CIE-LABlab(39.41, -21.77, 39.05)
CIE-LCHlch(39.41, 44.71, 119.14°)
OKLaboklab(47.03% -0.0629 0.0869)
OKLCHoklch(47.03% 0.107 125.9)
XYZxyz(7.7790, 10.9017, 2.4533)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6516 #2F1665
analogous
#655716 #4C6516 #256516
triadic
#4C6516 #164C65 #65164C
tetradic
#4C6516 #166557 #2F1665 #651625
square
#4C6516 #166557 #2F1665 #651625
split-complementary
#4C6516 #162565 #571665
monochromatic
#131905 #26330B #4C6516 #729721 #98CA2C

Accessibility & contrast

On white

6.60
#4C6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4C6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6516
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6516#FFFFFF#000000##FFFFFF
##4C65161.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#506056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c6516;
/* rgb */ color: rgb(76, 101, 22);
/* oklch */ color: oklch(47.0% 0.107 125.9);
Tailwind
colors: {
  custom: {
    50: '#81915a',
    500: '#4c6516',
    950: '#000000',
  },
}
SCSS
$custom: #4c6516;
$custom-light: #81915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6516",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 78.987,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.1073,
    "h": 125.9
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#4C6516
secondary
#5A3B9C
accent
#41E775
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6516

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

Preview Lab → · Contrast checker → · Palette generator →

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