#4C6C15#4C6C15

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

Color values

HEX#4C6C15
RGBrgb(76, 108, 21)
HSLhsl(82, 67%, 25%)
HSVhsv(82, 81%, 42%)
CMYKcmyk(29.6%, 0%, 80.6%, 57.6%)
CIE-LABlab(41.71, -25.36, 41.62)
CIE-LCHlch(41.71, 48.74, 121.35°)
OKLaboklab(48.9% -0.0727 0.0922)
OKLCHoklch(48.9% 0.117 128.3)
XYZxyz(8.4784, 12.3156, 2.6398)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6C15 #35156C
analogous
#6C6015 #4C6C15 #206C15
triadic
#4C6C15 #154C6C #6C154C
tetradic
#4C6C15 #156C60 #35156C #6C1520
square
#4C6C15 #156C60 #35156C #6C1520
split-complementary
#4C6C15 #15206C #60156C
monochromatic
#121A05 #28390B #4C6C15 #709F1F #94D229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6C15#FFFFFF#000000##FFFFFF
##4C6C151.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)
#726401
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#4F675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6c15;
/* rgb */ color: rgb(76, 108, 21);
/* oklch */ color: oklch(48.9% 0.117 128.3);
Tailwind
colors: {
  custom: {
    50: '#81965a',
    500: '#4c6c15',
    950: '#000000',
  },
}
SCSS
$custom: #4c6c15;
$custom-light: #81965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6c15",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 82.069,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.11741,
    "h": 128.3
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#4C6C15
secondary
#613AA3
accent
#3DEA7D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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