#3C5C12#3C5C12

#3C5C12 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.4% C 0.106 H 130.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3C5C12
RGBrgb(60, 92, 18)
HSLhsl(86, 67%, 22%)
HSVhsv(86, 80%, 36%)
CMYKcmyk(34.8%, 0%, 80.4%, 63.9%)
CIE-LABlab(35.32, -24.35, 36.26)
CIE-LCHlch(35.32, 43.68, 123.88°)
OKLaboklab(43.42% -0.0692 0.0808)
OKLCHoklch(43.42% 0.106 130.6)
XYZxyz(5.7998, 8.6584, 1.9378)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5C12 #32125C
analogous
#5C5712 #3C5C12 #175C12
triadic
#3C5C12 #123C5C #5C123C
tetradic
#3C5C12 #125C57 #32125C #5C1217
square
#3C5C12 #125C57 #32125C #5C1217
split-complementary
#3C5C12 #12175C #57125C
monochromatic
#111A05 #1B2908 #3C5C12 #5D8F1C #7FC226

Accessibility & contrast

On white

7.69
#3C5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3C5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5C12
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5C12#FFFFFF#000000##FFFFFF
##3C5C121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#3E584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c5c12;
/* rgb */ color: rgb(60, 92, 18);
/* oklch */ color: oklch(43.4% 0.106 130.6);
Tailwind
colors: {
  custom: {
    50: '#758a56',
    500: '#3c5c12',
    950: '#000000',
  },
}
SCSS
$custom: #3c5c12;
$custom-light: #758a56;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5c12",
  "rgb": {
    "r": 60,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 85.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.10635,
    "h": 130.6
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#3C5C12
secondary
#5E3594
accent
#3EEA88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3C5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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