#3C5A12#3C5A12

#3C5A12 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.9% C 0.104 H 129.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3C5A12
RGBrgb(60, 90, 18)
HSLhsl(85, 67%, 21%)
HSVhsv(85, 80%, 35%)
CMYKcmyk(33.3%, 0%, 80%, 64.7%)
CIE-LABlab(34.63, -23.36, 35.60)
CIE-LCHlch(34.63, 42.58, 123.27°)
OKLaboklab(42.86% -0.0665 0.0794)
OKLCHoklch(42.86% 0.104 129.9)
XYZxyz(5.6288, 8.3165, 1.8808)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5A12 #30125A
analogous
#5A5412 #3C5A12 #185A12
triadic
#3C5A12 #123C5A #5A123C
tetradic
#3C5A12 #125A54 #30125A #5A1218
square
#3C5A12 #125A54 #30125A #5A1218
split-complementary
#3C5A12 #12185A #54125A
monochromatic
#111A05 #1A2708 #3C5A12 #5E8D1C #80C026

Accessibility & contrast

On white

7.88
#3C5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3C5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5A12
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5A12#FFFFFF#000000##FFFFFF
##3C5A121.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#3E564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c5a12;
/* rgb */ color: rgb(60, 90, 18);
/* oklch */ color: oklch(42.9% 0.104 129.9);
Tailwind
colors: {
  custom: {
    50: '#758956',
    500: '#3c5a12',
    950: '#000000',
  },
}
SCSS
$custom: #3c5a12;
$custom-light: #758956;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5a12",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 85,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.10354,
    "h": 129.9
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#3C5A12
secondary
#5C3593
accent
#3EEA86
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3C5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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