#4C6716#4C6716

#4C6716 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.110 H 126.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4C6716
RGBrgb(76, 103, 22)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 40%)
CMYKcmyk(26.2%, 0%, 78.6%, 59.6%)
CIE-LABlab(40.07, -22.79, 39.69)
CIE-LCHlch(40.07, 45.77, 119.87°)
OKLaboklab(47.57% -0.0657 0.0883)
OKLCHoklch(47.57% 0.11 126.7)
XYZxyz(7.9756, 11.2948, 2.5188)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6716 #311667
analogous
#675A16 #4C6716 #246716
triadic
#4C6716 #164C67 #67164C
tetradic
#4C6716 #16675A #311667 #671624
square
#4C6716 #16675A #311667 #671624
split-complementary
#4C6716 #162467 #5A1667
monochromatic
#131905 #27350B #4C6716 #719921 #96CC2C

Accessibility & contrast

On white

6.44
#4C6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6716
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6716#FFFFFF#000000##FFFFFF
##4C67161.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6005
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#4F6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c6716;
/* rgb */ color: rgb(76, 103, 22);
/* oklch */ color: oklch(47.6% 0.110 126.7);
Tailwind
colors: {
  custom: {
    50: '#81925a',
    500: '#4c6716',
    950: '#000000',
  },
}
SCSS
$custom: #4c6716;
$custom-light: #81925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6716",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.11002,
    "h": 126.7
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#4C6716
secondary
#5C3B9E
accent
#40E878
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6716

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

Preview Lab → · Contrast checker → · Palette generator →

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