#4C6B17#4C6B17

#4C6B17 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.115 H 128.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C6B17
RGBrgb(76, 107, 23)
HSLhsl(82, 65%, 25%)
HSVhsv(82, 79%, 42%)
CMYKcmyk(29%, 0%, 78.5%, 58%)
CIE-LABlab(41.40, -24.75, 40.59)
CIE-LCHlch(41.40, 47.54, 121.37°)
OKLaboklab(48.64% -0.0709 0.0903)
OKLCHoklch(48.64% 0.115 128.1)
XYZxyz(8.3928, 12.1136, 2.7064)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6B17 #36176B
analogous
#6B6017 #4C6B17 #226B17
triadic
#4C6B17 #174C6B #6B174C
tetradic
#4C6B17 #176B60 #36176B #6B1722
square
#4C6B17 #176B60 #36176B #6B1722
split-complementary
#4C6B17 #17226B #60176B
monochromatic
#121905 #28390C #4C6B17 #709D22 #94D02D

Accessibility & contrast

On white

6.14
#4C6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6B17
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6B17#FFFFFF#000000##FFFFFF
##4C6B171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#4F665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6b17;
/* rgb */ color: rgb(76, 107, 23);
/* oklch */ color: oklch(48.6% 0.115 128.1);
Tailwind
colors: {
  custom: {
    50: '#81955b',
    500: '#4c6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4c6b17;
$custom-light: #81955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6b17",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 82.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.11485,
    "h": 128.1
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#4C6B17
secondary
#623DA1
accent
#40E87E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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