#4C6A16#4C6A16

#4C6A16 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.114 H 127.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4C6A16
RGBrgb(76, 106, 22)
HSLhsl(81, 66%, 25%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(28.3%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.06, -24.31, 40.64)
CIE-LCHlch(41.06, 47.35, 120.88°)
OKLaboklab(48.37% -0.0698 0.0903)
OKLCHoklch(48.37% 0.114 127.7)
XYZxyz(8.2794, 11.9023, 2.6201)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6A16 #34166A
analogous
#6A5E16 #4C6A16 #226A16
triadic
#4C6A16 #164C6A #6A164C
tetradic
#4C6A16 #166A5E #34166A #6A1622
square
#4C6A16 #166A5E #34166A #6A1622
split-complementary
#4C6A16 #16226A #5E166A
monochromatic
#121905 #28370B #4C6A16 #709D21 #95CF2B

Accessibility & contrast

On white

6.21
#4C6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6A16
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6A16#FFFFFF#000000##FFFFFF
##4C6A161.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706204
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#4F655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c6a16;
/* rgb */ color: rgb(76, 106, 22);
/* oklch */ color: oklch(48.4% 0.114 127.7);
Tailwind
colors: {
  custom: {
    50: '#81945a',
    500: '#4c6a16',
    950: '#000000',
  },
}
SCSS
$custom: #4c6a16;
$custom-light: #81945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6a16",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 81.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48368,
    "c": 0.11411,
    "h": 127.7
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#4C6A16
secondary
#5F3BA0
accent
#3FE97C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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