#3C5912#3C5912

#3C5912 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.102 H 129.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3C5912
RGBrgb(60, 89, 18)
HSLhsl(85, 66%, 21%)
HSVhsv(85, 80%, 35%)
CMYKcmyk(32.6%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.29, -22.85, 35.27)
CIE-LCHlch(34.29, 42.02, 122.94°)
OKLaboklab(42.58% -0.0651 0.0787)
OKLCHoklch(42.58% 0.102 129.6)
XYZxyz(5.5450, 8.1489, 1.8529)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5912 #2F1259
analogous
#595212 #3C5912 #185912
triadic
#3C5912 #123C59 #59123C
tetradic
#3C5912 #125952 #2F1259 #591218
square
#3C5912 #125952 #2F1259 #591218
split-complementary
#3C5912 #121859 #521259
monochromatic
#111905 #1A2608 #3C5912 #5E8C1C #81BF27

Accessibility & contrast

On white

7.99
#3C5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3C5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5912
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5912#FFFFFF#000000##FFFFFF
##3C59121.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#3E554B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c5912;
/* rgb */ color: rgb(60, 89, 18);
/* oklch */ color: oklch(42.6% 0.102 129.6);
Tailwind
colors: {
  custom: {
    50: '#758856',
    500: '#3c5912',
    950: '#000000',
  },
}
SCSS
$custom: #3c5912;
$custom-light: #758856;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5912",
  "rgb": {
    "r": 60,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 84.507,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.10214,
    "h": 129.6
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#3C5912
secondary
#5B3592
accent
#3FE984
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3C5912

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

Preview Lab → · Contrast checker → · Palette generator →

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