#4C6517#4C6517

#4C6517 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.0% C 0.107 H 126.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4C6517
RGBrgb(76, 101, 23)
HSLhsl(79, 63%, 24%)
HSVhsv(79, 77%, 40%)
CMYKcmyk(24.8%, 0%, 77.2%, 60.4%)
CIE-LABlab(39.42, -21.71, 38.67)
CIE-LCHlch(39.42, 44.35, 119.31°)
OKLaboklab(47.04% -0.0626 0.0863)
OKLCHoklch(47.04% 0.107 126)
XYZxyz(7.7889, 10.9056, 2.5051)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6517 #301765
analogous
#655717 #4C6517 #256517
triadic
#4C6517 #174C65 #65174C
tetradic
#4C6517 #176557 #301765 #651725
square
#4C6517 #176557 #301765 #651725
split-complementary
#4C6517 #172565 #571765
monochromatic
#131906 #26330C #4C6517 #729722 #97C92E

Accessibility & contrast

On white

6.60
#4C6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4C6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6517
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6517#FFFFFF#000000##FFFFFF
##4C65171.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#506056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c6517;
/* rgb */ color: rgb(76, 101, 23);
/* oklch */ color: oklch(47.0% 0.107 126.0);
Tailwind
colors: {
  custom: {
    50: '#81915a',
    500: '#4c6517',
    950: '#000000',
  },
}
SCSS
$custom: #4c6517;
$custom-light: #81915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6517",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 79.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.10663,
    "h": 126
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#4C6517
secondary
#5B3C9B
accent
#42E676
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6517

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

Preview Lab → · Contrast checker → · Palette generator →

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