#3C5015#3C5015

#3C5015 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.087 H 126.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3C5015
RGBrgb(60, 80, 21)
HSLhsl(80, 58%, 20%)
HSVhsv(80, 74%, 31%)
CMYKcmyk(25%, 0%, 73.7%, 68.6%)
CIE-LABlab(31.24, -17.93, 30.91)
CIE-LCHlch(31.24, 35.73, 120.11°)
OKLaboklab(40.11% -0.0513 0.0701)
OKLCHoklch(40.11% 0.087 126.2)
XYZxyz(4.8675, 6.7521, 1.7562)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5015 #291550
analogous
#504715 #3C5015 #1F5015
triadic
#3C5015 #153C50 #50153C
tetradic
#3C5015 #155047 #291550 #50151F
square
#3C5015 #155047 #291550 #50151F
split-complementary
#3C5015 #151F50 #471550
monochromatic
#121806 #182008 #3C5015 #608022 #85B12E

Accessibility & contrast

On white

8.93
#3C5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3C5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5015
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5015#FFFFFF#000000##FFFFFF
##3C50151.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0D
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#3F4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3c5015;
/* rgb */ color: rgb(60, 80, 21);
/* oklch */ color: oklch(40.1% 0.087 126.2);
Tailwind
colors: {
  custom: {
    50: '#748156',
    500: '#3c5015',
    950: '#000000',
  },
}
SCSS
$custom: #3c5015;
$custom-light: #748156;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5015",
  "rgb": {
    "r": 60,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 80.339,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.08687,
    "h": 126.2
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#3C5015
secondary
#543988
accent
#46E27B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5015

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

Preview Lab → · Contrast checker → · Palette generator →

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