#3C5312#3C5312

#3C5312 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.094 H 127.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3C5312
RGBrgb(60, 83, 18)
HSLhsl(81, 64%, 20%)
HSVhsv(81, 78%, 33%)
CMYKcmyk(27.7%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.24, -19.75, 33.25)
CIE-LCHlch(32.24, 38.67, 120.71°)
OKLaboklab(40.91% -0.0567 0.0745)
OKLCHoklch(40.91% 0.094 127.3)
XYZxyz(5.0659, 7.1907, 1.6932)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5312 #291253
analogous
#534A12 #3C5312 #1C5312
triadic
#3C5312 #123C53 #53123C
tetradic
#3C5312 #12534A #291253 #53121C
square
#3C5312 #12534A #291253 #53121C
split-complementary
#3C5312 #121C53 #4A1253
monochromatic
#121905 #182107 #3C5312 #60851D #85B828

Accessibility & contrast

On white

8.61
#3C5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3C5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5312
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5312#FFFFFF#000000##FFFFFF
##3C53121.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#3F4F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3c5312;
/* rgb */ color: rgb(60, 83, 18);
/* oklch */ color: oklch(40.9% 0.094 127.3);
Tailwind
colors: {
  custom: {
    50: '#748355',
    500: '#3c5312',
    950: '#000000',
  },
}
SCSS
$custom: #3c5312;
$custom-light: #748355;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5312",
  "rgb": {
    "r": 60,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 81.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.09357,
    "h": 127.3
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#3C5312
secondary
#54358C
accent
#40E77C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5312

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

Preview Lab → · Contrast checker → · Palette generator →

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