#3C6C12#3C6C12

#3C6C12 is a mid, vivid yellow-green. Relative luminance 0.117; OKLCH L 47.9% C 0.128 H 134.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3C6C12
RGBrgb(60, 108, 18)
HSLhsl(92, 71%, 25%)
HSVhsv(92, 83%, 42%)
CMYKcmyk(44.4%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.78, -31.88, 41.44)
CIE-LCHlch(40.78, 52.28, 127.57°)
OKLaboklab(47.89% -0.0895 0.0916)
OKLCHoklch(47.89% 0.128 134.3)
XYZxyz(7.3351, 11.7291, 2.4496)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C6C12 #42126C
analogous
#696C12 #3C6C12 #126C15
triadic
#3C6C12 #123C6C #6C123C
tetradic
#3C6C12 #12696C #42126C #6C1512
square
#3C6C12 #12696C #42126C #6C1512
split-complementary
#3C6C12 #15126C #6C1269
monochromatic
#0F1A04 #1F3809 #3C6C12 #59A01B #76D523

Accessibility & contrast

On white

6.28
#3C6C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3C6C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C6C12
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C6C12#FFFFFF#000000##FFFFFF
##3C6C121.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#6A5F1C
Tritanopia (blue-blind)
#3B675B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c6c12;
/* rgb */ color: rgb(60, 108, 18);
/* oklch */ color: oklch(47.9% 0.128 134.3);
Tailwind
colors: {
  custom: {
    50: '#779659',
    500: '#3c6c12',
    950: '#000000',
  },
}
SCSS
$custom: #3c6c12;
$custom-light: #779659;
$custom-dark: #000000;
JSON
{
  "hex": "#3c6c12",
  "rgb": {
    "r": 60,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 92,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.12809,
    "h": 134.3
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#3C6C12
secondary
#7136A3
accent
#3AEE9A
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3C6C12

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

Preview Lab → · Contrast checker → · Palette generator →

#3C6C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva