#4C6C17#4C6C17

#4C6C17 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 48.9% C 0.116 H 128.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4C6C17
RGBrgb(76, 108, 23)
HSLhsl(83, 65%, 26%)
HSVhsv(83, 79%, 42%)
CMYKcmyk(29.6%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.73, -25.24, 40.91)
CIE-LCHlch(41.73, 48.07, 121.68°)
OKLaboklab(48.91% -0.0723 0.091)
OKLCHoklch(48.91% 0.116 128.5)
XYZxyz(8.4977, 12.3233, 2.7414)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6C17 #37176C
analogous
#6C6117 #4C6C17 #226C17
triadic
#4C6C17 #174C6C #6C174C
tetradic
#4C6C17 #176C61 #37176C #6C1722
square
#4C6C17 #176C61 #37176C #6C1722
split-complementary
#4C6C17 #17226C #61176C
monochromatic
#121905 #283A0C #4C6C17 #709E22 #93D12C

Accessibility & contrast

On white

6.06
#4C6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6C17
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6C17#FFFFFF#000000##FFFFFF
##4C6C171.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#4F675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6c17;
/* rgb */ color: rgb(76, 108, 23);
/* oklch */ color: oklch(48.9% 0.116 128.5);
Tailwind
colors: {
  custom: {
    50: '#81965b',
    500: '#4c6c17',
    950: '#000000',
  },
}
SCSS
$custom: #4c6c17;
$custom-light: #81965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6c17",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 82.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.1162,
    "h": 128.5
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#4C6C17
secondary
#633DA2
accent
#40E87F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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