#3C5115#3C5115

#3C5115 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.4% C 0.088 H 126.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3C5115
RGBrgb(60, 81, 21)
HSLhsl(81, 59%, 20%)
HSVhsv(81, 74%, 32%)
CMYKcmyk(25.9%, 0%, 74.1%, 68.2%)
CIE-LABlab(31.58, -18.46, 31.26)
CIE-LCHlch(31.58, 36.31, 120.56°)
OKLaboklab(40.39% -0.0528 0.0708)
OKLCHoklch(40.39% 0.088 126.7)
XYZxyz(4.9413, 6.8996, 1.7807)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5115 #2A1551
analogous
#514815 #3C5115 #1E5115
triadic
#3C5115 #153C51 #51153C
tetradic
#3C5115 #155148 #2A1551 #51151E
square
#3C5115 #155148 #2A1551 #51151E
split-complementary
#3C5115 #151E51 #481551
monochromatic
#121806 #182008 #3C5115 #608222 #84B22E

Accessibility & contrast

On white

8.82
#3C5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3C5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5115
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5115#FFFFFF#000000##FFFFFF
##3C51151.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#3F4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c5115;
/* rgb */ color: rgb(60, 81, 21);
/* oklch */ color: oklch(40.4% 0.088 126.7);
Tailwind
colors: {
  custom: {
    50: '#748256',
    500: '#3c5115',
    950: '#000000',
  },
}
SCSS
$custom: #3c5115;
$custom-light: #748256;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5115",
  "rgb": {
    "r": 60,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 81,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.08835,
    "h": 126.7
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#3C5115
secondary
#553989
accent
#46E27C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5115

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

Preview Lab → · Contrast checker → · Palette generator →

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