#3C6812#3C6812

#3C6812 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.123 H 133.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3C6812
RGBrgb(60, 104, 18)
HSLhsl(91, 70%, 24%)
HSVhsv(91, 83%, 41%)
CMYKcmyk(42.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.42, -30.07, 40.17)
CIE-LCHlch(39.42, 50.17, 126.82°)
OKLaboklab(46.77% -0.0846 0.089)
OKLCHoklch(46.77% 0.123 133.6)
XYZxyz(6.9229, 10.9046, 2.3122)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C6812 #3E1268
analogous
#676812 #3C6812 #126813
triadic
#3C6812 #123C68 #68123C
tetradic
#3C6812 #126768 #3E1268 #681312
square
#3C6812 #126768 #3E1268 #681312
split-complementary
#3C6812 #131268 #681267
monochromatic
#0F1A05 #1E3409 #3C6812 #5A9C1B #78D024

Accessibility & contrast

On white

6.60
#3C6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3C6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C6812
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C6812#FFFFFF#000000##FFFFFF
##3C68121.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#3C6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3c6812;
/* rgb */ color: rgb(60, 104, 18);
/* oklch */ color: oklch(46.8% 0.123 133.6);
Tailwind
colors: {
  custom: {
    50: '#769358',
    500: '#3c6812',
    950: '#000000',
  },
}
SCSS
$custom: #3c6812;
$custom-light: #769358;
$custom-dark: #000000;
JSON
{
  "hex": "#3c6812",
  "rgb": {
    "r": 60,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 90.698,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.12279,
    "h": 133.6
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#3C6812
secondary
#6C36A0
accent
#3BED96
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3C6812

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

Preview Lab → · Contrast checker → · Palette generator →

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