#4C6911#4C6911

#4C6911 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.116 H 127.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4C6911
RGBrgb(76, 105, 17)
HSLhsl(80, 72%, 24%)
HSVhsv(80, 84%, 41%)
CMYKcmyk(27.6%, 0%, 83.8%, 58.8%)
CIE-LABlab(40.70, -24.08, 42.03)
CIE-LCHlch(40.70, 48.44, 119.81°)
OKLaboklab(48.07% -0.0696 0.0923)
OKLCHoklch(48.07% 0.116 127)
XYZxyz(8.1333, 11.6800, 2.3562)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6911 #2E1169
analogous
#695A11 #4C6911 #206911
triadic
#4C6911 #114C69 #69114C
tetradic
#4C6911 #11695A #2E1169 #691120
square
#4C6911 #11695A #2E1169 #691120
split-complementary
#4C6911 #112069 #5A1169
monochromatic
#131A04 #263408 #4C6911 #729E1A #98D222

Accessibility & contrast

On white

6.29
#4C6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4C6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6911
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6911#FFFFFF#000000##FFFFFF
##4C69111.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#4F6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6911;
/* rgb */ color: rgb(76, 105, 17);
/* oklch */ color: oklch(48.1% 0.116 127.0);
Tailwind
colors: {
  custom: {
    50: '#819458',
    500: '#4c6911',
    950: '#000000',
  },
}
SCSS
$custom: #4c6911;
$custom-light: #819458;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6911",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 79.773,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.1156,
    "h": 127
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#4C6911
secondary
#5935A1
accent
#39EF75
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6911

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

Preview Lab → · Contrast checker → · Palette generator →

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