#3C5210#3C5210

#3C5210 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.094 H 126.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3C5210
RGBrgb(60, 82, 16)
HSLhsl(80, 67%, 19%)
HSVhsv(80, 80%, 32%)
CMYKcmyk(26.8%, 0%, 80.5%, 67.8%)
CIE-LABlab(31.88, -19.36, 33.71)
CIE-LCHlch(31.88, 38.88, 119.86°)
OKLaboklab(40.62% -0.0558 0.0751)
OKLCHoklch(40.62% 0.094 126.6)
XYZxyz(4.9743, 7.0326, 1.5855)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5210 #261052
analogous
#524710 #3C5210 #1B5210
triadic
#3C5210 #103C52 #52103C
tetradic
#3C5210 #105247 #261052 #52101B
square
#3C5210 #105247 #261052 #52101B
split-complementary
#3C5210 #101B52 #471052
monochromatic
#131A05 #171F06 #3C5210 #61851A #87B824

Accessibility & contrast

On white

8.73
#3C5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3C5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5210
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5210#FFFFFF#000000##FFFFFF
##3C52101.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#3F4E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c5210;
/* rgb */ color: rgb(60, 82, 16);
/* oklch */ color: oklch(40.6% 0.094 126.6);
Tailwind
colors: {
  custom: {
    50: '#748254',
    500: '#3c5210',
    950: '#000000',
  },
}
SCSS
$custom: #3c5210;
$custom-light: #748254;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5210",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 80,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.09354,
    "h": 126.6
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#3C5210
secondary
#50328C
accent
#3EEA77
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5210

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

Preview Lab → · Contrast checker → · Palette generator →

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