#4C6416#4C6416

#4C6416 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.106 H 125.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4C6416
RGBrgb(76, 100, 22)
HSLhsl(78, 64%, 24%)
HSVhsv(78, 78%, 39%)
CMYKcmyk(24%, 0%, 78%, 60.8%)
CIE-LABlab(39.09, -21.25, 38.73)
CIE-LCHlch(39.09, 44.18, 118.75°)
OKLaboklab(46.77% -0.0615 0.0863)
OKLCHoklch(46.77% 0.106 125.5)
XYZxyz(7.6825, 10.7087, 2.4211)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6416 #2E1664
analogous
#645516 #4C6416 #256416
triadic
#4C6416 #164C64 #64164C
tetradic
#4C6416 #166455 #2E1664 #641625
square
#4C6416 #166455 #2E1664 #641625
split-complementary
#4C6416 #162564 #551664
monochromatic
#131906 #26320B #4C6416 #729621 #98C82C

Accessibility & contrast

On white

6.68
#4C6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6416
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6416#FFFFFF#000000##FFFFFF
##4C64161.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D07
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#505F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c6416;
/* rgb */ color: rgb(76, 100, 22);
/* oklch */ color: oklch(46.8% 0.106 125.5);
Tailwind
colors: {
  custom: {
    50: '#81905a',
    500: '#4c6416',
    950: '#000000',
  },
}
SCSS
$custom: #4c6416;
$custom-light: #81905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6416",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 78.462,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.10593,
    "h": 125.5
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#4C6416
secondary
#593B9B
accent
#41E774
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6416

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

Preview Lab → · Contrast checker → · Palette generator →

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