#4C6C14#4C6C14

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

Color values

HEX#4C6C14
RGBrgb(76, 108, 20)
HSLhsl(82, 69%, 25%)
HSVhsv(82, 81%, 42%)
CMYKcmyk(29.6%, 0%, 81.5%, 57.6%)
CIE-LABlab(41.71, -25.41, 41.96)
CIE-LCHlch(41.71, 49.06, 121.20°)
OKLaboklab(48.89% -0.073 0.0927)
OKLCHoklch(48.89% 0.118 128.2)
XYZxyz(8.4693, 12.3119, 2.5919)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6C14 #34146C
analogous
#6C6014 #4C6C14 #206C14
triadic
#4C6C14 #144C6C #6C144C
tetradic
#4C6C14 #146C60 #34146C #6C1420
square
#4C6C14 #146C60 #34146C #6C1420
split-complementary
#4C6C14 #14206C #60146C
monochromatic
#121A05 #28380A #4C6C14 #70A01E #95D327

Accessibility & contrast

On white

6.07
#4C6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6C14
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6C14#FFFFFF#000000##FFFFFF
##4C6C141.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c6c14;
/* rgb */ color: rgb(76, 108, 20);
/* oklch */ color: oklch(48.9% 0.118 128.2);
Tailwind
colors: {
  custom: {
    50: '#81965a',
    500: '#4c6c14',
    950: '#000000',
  },
}
SCSS
$custom: #4c6c14;
$custom-light: #81965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6c14",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 81.818,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.11798,
    "h": 128.2
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#4C6C14
secondary
#5F39A3
accent
#3CEC7C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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