#4C6916#4C6916

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

Color values

HEX#4C6916
RGBrgb(76, 105, 22)
HSLhsl(81, 65%, 25%)
HSVhsv(81, 79%, 41%)
CMYKcmyk(27.6%, 0%, 79%, 58.8%)
CIE-LABlab(40.73, -23.80, 40.32)
CIE-LCHlch(40.73, 46.83, 120.55°)
OKLaboklab(48.1% -0.0684 0.0896)
OKLCHoklch(48.1% 0.113 127.4)
XYZxyz(8.1769, 11.6974, 2.5859)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6916 #331669
analogous
#695D16 #4C6916 #236916
triadic
#4C6916 #164C69 #69164C
tetradic
#4C6916 #16695D #331669 #691623
square
#4C6916 #16695D #331669 #691623
split-complementary
#4C6916 #162369 #5D1669
monochromatic
#121905 #27360B #4C6916 #719C21 #95CE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6916#FFFFFF#000000##FFFFFF
##4C69161.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)
#6F6104
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#4F6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c6916;
/* rgb */ color: rgb(76, 105, 22);
/* oklch */ color: oklch(48.1% 0.113 127.4);
Tailwind
colors: {
  custom: {
    50: '#81945a',
    500: '#4c6916',
    950: '#000000',
  },
}
SCSS
$custom: #4c6916;
$custom-light: #81945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6916",
  "rgb": {
    "r": 76,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 80.964,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.481,
    "c": 0.11275,
    "h": 127.4
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#4C6916
secondary
#5E3B9F
accent
#3FE87A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6916

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

Preview Lab → · Contrast checker → · Palette generator →

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