#4C6C16#4C6C16

#4C6C16 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.9% C 0.117 H 128.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4C6C16
RGBrgb(76, 108, 22)
HSLhsl(82, 66%, 25%)
HSVhsv(82, 80%, 42%)
CMYKcmyk(29.6%, 0%, 79.6%, 57.6%)
CIE-LABlab(41.72, -25.30, 41.27)
CIE-LCHlch(41.72, 48.41, 121.51°)
OKLaboklab(48.9% -0.0725 0.0916)
OKLCHoklch(48.9% 0.117 128.4)
XYZxyz(8.4879, 12.3193, 2.6896)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6C16 #36166C
analogous
#6C6116 #4C6C16 #216C16
triadic
#4C6C16 #164C6C #6C164C
tetradic
#4C6C16 #166C61 #36166C #6C1621
square
#4C6C16 #166C61 #36166C #6C1621
split-complementary
#4C6C16 #16216C #61166C
monochromatic
#121905 #28390C #4C6C16 #709F20 #94D22B

Accessibility & contrast

On white

6.06
#4C6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6C16
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6C16#FFFFFF#000000##FFFFFF
##4C6C161.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#4F675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6c16;
/* rgb */ color: rgb(76, 108, 22);
/* oklch */ color: oklch(48.9% 0.117 128.4);
Tailwind
colors: {
  custom: {
    50: '#81965b',
    500: '#4c6c16',
    950: '#000000',
  },
}
SCSS
$custom: #4c6c16;
$custom-light: #81965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6c16",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 82.326,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48903,
    "c": 0.11682,
    "h": 128.4
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#4C6C16
secondary
#623CA2
accent
#3FE97E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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