#4C6D17#4C6D17

#4C6D17 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.2% C 0.118 H 128.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4C6D17
RGBrgb(76, 109, 23)
HSLhsl(83, 65%, 26%)
HSVhsv(83, 79%, 43%)
CMYKcmyk(30.3%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.05, -25.73, 41.23)
CIE-LCHlch(42.05, 48.60, 121.97°)
OKLaboklab(49.18% -0.0736 0.0917)
OKLCHoklch(49.18% 0.118 128.8)
XYZxyz(8.6038, 12.5354, 2.7767)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6D17 #38176D
analogous
#6D6317 #4C6D17 #216D17
triadic
#4C6D17 #174C6D #6D174C
tetradic
#4C6D17 #176D63 #38176D #6D1721
square
#4C6D17 #176D63 #38176D #6D1721
split-complementary
#4C6D17 #17216D #63176D
monochromatic
#121905 #293A0C #4C6D17 #6FA022 #92D22C

Accessibility & contrast

On white

5.99
#4C6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4C6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6D17
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6D17#FFFFFF#000000##FFFFFF
##4C6D171.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#4F685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c6d17;
/* rgb */ color: rgb(76, 109, 23);
/* oklch */ color: oklch(49.2% 0.118 128.8);
Tailwind
colors: {
  custom: {
    50: '#81975b',
    500: '#4c6d17',
    950: '#000000',
  },
}
SCSS
$custom: #4c6d17;
$custom-light: #81975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6d17",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 83.023,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.11757,
    "h": 128.8
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#4C6D17
secondary
#643DA3
accent
#40E880
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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