#4C6816#4C6816

#4C6816 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.111 H 127.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4C6816
RGBrgb(76, 104, 22)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 41%)
CMYKcmyk(26.9%, 0%, 78.8%, 59.2%)
CIE-LABlab(40.40, -23.30, 40.01)
CIE-LCHlch(40.40, 46.30, 120.22°)
OKLaboklab(47.83% -0.0671 0.0889)
OKLCHoklch(47.83% 0.111 127)
XYZxyz(8.0757, 11.4949, 2.5522)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6816 #321668
analogous
#685B16 #4C6816 #236816
triadic
#4C6816 #164C68 #68164C
tetradic
#4C6816 #16685B #321668 #681623
square
#4C6816 #16685B #321668 #681623
split-complementary
#4C6816 #162368 #5B1668
monochromatic
#121905 #27350B #4C6816 #719B21 #96CD2B

Accessibility & contrast

On white

6.37
#4C6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6816
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6816#FFFFFF#000000##FFFFFF
##4C68161.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6005
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#4F6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c6816;
/* rgb */ color: rgb(76, 104, 22);
/* oklch */ color: oklch(47.8% 0.111 127.0);
Tailwind
colors: {
  custom: {
    50: '#81935a',
    500: '#4c6816',
    950: '#000000',
  },
}
SCSS
$custom: #4c6816;
$custom-light: #81935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6816",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 80.488,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.11139,
    "h": 127
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#4C6816
secondary
#5D3B9F
accent
#40E879
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6816

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

Preview Lab → · Contrast checker → · Palette generator →

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