#3C5012#3C5012

#3C5012 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.089 H 125.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3C5012
RGBrgb(60, 80, 18)
HSLhsl(79, 63%, 19%)
HSVhsv(79, 78%, 31%)
CMYKcmyk(25%, 0%, 77.5%, 68.6%)
CIE-LABlab(31.21, -18.15, 32.23)
CIE-LCHlch(31.21, 36.99, 119.39°)
OKLaboklab(40.08% -0.0523 0.0723)
OKLCHoklch(40.08% 0.089 125.9)
XYZxyz(4.8413, 6.7416, 1.6183)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5012 #261250
analogous
#504512 #3C5012 #1D5012
triadic
#3C5012 #123C50 #50123C
tetradic
#3C5012 #125045 #261250 #50121D
square
#3C5012 #125045 #261250 #50121D
split-complementary
#3C5012 #121D50 #451250
monochromatic
#131906 #171E07 #3C5012 #61821D #87B428

Accessibility & contrast

On white

8.94
#3C5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3C5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5012
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5012#FFFFFF#000000##FFFFFF
##3C50121.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#3F4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3c5012;
/* rgb */ color: rgb(60, 80, 18);
/* oklch */ color: oklch(40.1% 0.089 125.9);
Tailwind
colors: {
  custom: {
    50: '#748154',
    500: '#3c5012',
    950: '#000000',
  },
}
SCSS
$custom: #3c5012;
$custom-light: #748154;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5012",
  "rgb": {
    "r": 60,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 79.355,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.08924,
    "h": 125.9
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#3C5012
secondary
#503589
accent
#41E677
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5012

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

Preview Lab → · Contrast checker → · Palette generator →

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