#3C6012#3C6012

#3C6012 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.112 H 131.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3C6012
RGBrgb(60, 96, 18)
HSLhsl(88, 68%, 22%)
HSVhsv(88, 81%, 38%)
CMYKcmyk(37.5%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.69, -26.31, 37.58)
CIE-LCHlch(36.69, 45.87, 124.99°)
OKLaboklab(44.54% -0.0745 0.0835)
OKLCHoklch(44.54% 0.112 131.7)
XYZxyz(6.1555, 9.3698, 2.0564)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C6012 #361260
analogous
#605D12 #3C6012 #156012
triadic
#3C6012 #123C60 #60123C
tetradic
#3C6012 #12605D #361260 #601215
square
#3C6012 #12605D #361260 #601215
split-complementary
#3C6012 #121560 #5D1260
monochromatic
#101A05 #1C2C08 #3C6012 #5C941C #7CC725

Accessibility & contrast

On white

7.31
#3C6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3C6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C6012
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C6012#FFFFFF#000000##FFFFFF
##3C60121.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#60551A
Tritanopia (blue-blind)
#3D5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c6012;
/* rgb */ color: rgb(60, 96, 18);
/* oklch */ color: oklch(44.5% 0.112 131.7);
Tailwind
colors: {
  custom: {
    50: '#758d57',
    500: '#3c6012',
    950: '#000000',
  },
}
SCSS
$custom: #3c6012;
$custom-light: #758d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3c6012",
  "rgb": {
    "r": 60,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 87.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.11192,
    "h": 131.7
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#3C6012
secondary
#633698
accent
#3DEB8D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3C6012

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

Preview Lab → · Contrast checker → · Palette generator →

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