#3C5812#3C5812

#3C5812 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.3% C 0.101 H 129.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3C5812
RGBrgb(60, 88, 18)
HSLhsl(84, 66%, 21%)
HSVhsv(84, 80%, 35%)
CMYKcmyk(31.8%, 0%, 79.5%, 65.5%)
CIE-LABlab(33.95, -22.34, 34.93)
CIE-LCHlch(33.95, 41.47, 122.60°)
OKLaboklab(42.3% -0.0637 0.078)
OKLCHoklch(42.3% 0.101 129.2)
XYZxyz(5.4624, 7.9836, 1.8253)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5812 #2E1258
analogous
#585112 #3C5812 #195812
triadic
#3C5812 #123C58 #58123C
tetradic
#3C5812 #125851 #2E1258 #581219
square
#3C5812 #125851 #2E1258 #581219
split-complementary
#3C5812 #121958 #511258
monochromatic
#111905 #192508 #3C5812 #5F8B1C #81BE27

Accessibility & contrast

On white

8.09
#3C5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3C5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5812
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5812#FFFFFF#000000##FFFFFF
##3C58121.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#3E544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3c5812;
/* rgb */ color: rgb(60, 88, 18);
/* oklch */ color: oklch(42.3% 0.101 129.2);
Tailwind
colors: {
  custom: {
    50: '#758756',
    500: '#3c5812',
    950: '#000000',
  },
}
SCSS
$custom: #3c5812;
$custom-light: #758756;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5812",
  "rgb": {
    "r": 60,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 84,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.10072,
    "h": 129.2
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#3C5812
secondary
#5A3591
accent
#3FE983
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3C5812

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

Preview Lab → · Contrast checker → · Palette generator →

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