#3C571B#3C571B

#3C571B is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.092 H 130.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3C571B
RGBrgb(60, 87, 27)
HSLhsl(87, 53%, 22%)
HSVhsv(87, 69%, 34%)
CMYKcmyk(31%, 0%, 69%, 65.9%)
CIE-LABlab(33.68, -21.11, 30.65)
CIE-LCHlch(33.68, 37.22, 124.55°)
OKLaboklab(42.11% -0.0595 0.0705)
OKLCHoklch(42.11% 0.092 130.2)
XYZxyz(5.4695, 7.8560, 2.2649)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C571B #361B57
analogous
#57541B #3C571B #1E571B
triadic
#3C571B #1B3C57 #571B3C
tetradic
#3C571B #1B5754 #361B57 #571B1E
square
#3C571B #1B5754 #361B57 #571B1E
split-complementary
#3C571B #1B1E57 #541B57
monochromatic
#101707 #1C280D #3C571B #5C8629 #7CB438

Accessibility & contrast

On white

8.17
#3C571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3C571B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C571B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C571B#FFFFFF#000000##FFFFFF
##3C571B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5014
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#3E534B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c571b;
/* rgb */ color: rgb(60, 87, 27);
/* oklch */ color: oklch(42.1% 0.092 130.2);
Tailwind
colors: {
  custom: {
    50: '#74865a',
    500: '#3c571b',
    950: '#000000',
  },
}
SCSS
$custom: #3c571b;
$custom-light: #74865a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c571b",
  "rgb": {
    "r": 60,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 87,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.09221,
    "h": 130.2
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#3C571B
secondary
#63418D
accent
#4CDC8D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3C571B

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

Preview Lab → · Contrast checker → · Palette generator →

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