#4C6611#4C6611

#4C6611 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.112 H 125.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4C6611
RGBrgb(76, 102, 17)
HSLhsl(78, 71%, 23%)
HSVhsv(78, 83%, 40%)
CMYKcmyk(25.5%, 0%, 83.3%, 60%)
CIE-LABlab(39.71, -22.56, 41.13)
CIE-LCHlch(39.71, 46.91, 118.75°)
OKLaboklab(47.27% -0.0655 0.0904)
OKLCHoklch(47.27% 0.112 125.9)
XYZxyz(7.8331, 11.0796, 2.2561)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6611 #2B1166
analogous
#665511 #4C6611 #216611
triadic
#4C6611 #114C66 #66114C
tetradic
#4C6611 #116655 #2B1166 #661121
square
#4C6611 #116655 #2B1166 #661121
split-complementary
#4C6611 #112166 #551166
monochromatic
#141A04 #253208 #4C6611 #739A1A #9ACF22

Accessibility & contrast

On white

6.53
#4C6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6611
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6611#FFFFFF#000000##FFFFFF
##4C66111.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#506156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6611;
/* rgb */ color: rgb(76, 102, 17);
/* oklch */ color: oklch(47.3% 0.112 125.9);
Tailwind
colors: {
  custom: {
    50: '#819158',
    500: '#4c6611',
    950: '#000000',
  },
}
SCSS
$custom: #4c6611;
$custom-light: #819158;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6611",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 78.353,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.11161,
    "h": 125.9
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#4C6611
secondary
#55359E
accent
#3AEE71
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6611

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

Preview Lab → · Contrast checker → · Palette generator →

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