#3C5212#3C5212

#3C5212 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.092 H 126.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3C5212
RGBrgb(60, 82, 18)
HSLhsl(81, 64%, 20%)
HSVhsv(81, 78%, 32%)
CMYKcmyk(26.8%, 0%, 78%, 67.8%)
CIE-LABlab(31.90, -19.22, 32.91)
CIE-LCHlch(31.90, 38.11, 120.29°)
OKLaboklab(40.64% -0.0552 0.0738)
OKLCHoklch(40.64% 0.092 126.8)
XYZxyz(4.9900, 7.0388, 1.6679)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5212 #281252
analogous
#524812 #3C5212 #1C5212
triadic
#3C5212 #123C52 #52123C
tetradic
#3C5212 #125248 #281252 #52121C
square
#3C5212 #125248 #281252 #52121C
split-complementary
#3C5212 #121C52 #481252
monochromatic
#121906 #172007 #3C5212 #61841D #85B628

Accessibility & contrast

On white

8.72
#3C5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3C5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5212
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5212#FFFFFF#000000##FFFFFF
##3C52121.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#3F4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c5212;
/* rgb */ color: rgb(60, 82, 18);
/* oklch */ color: oklch(40.6% 0.092 126.8);
Tailwind
colors: {
  custom: {
    50: '#748255',
    500: '#3c5212',
    950: '#000000',
  },
}
SCSS
$custom: #3c5212;
$custom-light: #748255;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5212",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 80.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.09213,
    "h": 126.8
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#3C5212
secondary
#52358B
accent
#41E77A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5212

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

Preview Lab → · Contrast checker → · Palette generator →

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