#3C540F#3C540F

#3C540F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.2% C 0.097 H 127.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3C540F
RGBrgb(60, 84, 15)
HSLhsl(81, 70%, 19%)
HSVhsv(81, 82%, 33%)
CMYKcmyk(28.6%, 0%, 82.1%, 67.1%)
CIE-LABlab(32.56, -20.47, 34.76)
CIE-LCHlch(32.56, 40.34, 120.50°)
OKLaboklab(41.17% -0.0589 0.0771)
OKLCHoklch(41.17% 0.097 127.4)
XYZxyz(5.1200, 7.3357, 1.5980)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C540F #270F54
analogous
#544A0F #3C540F #19540F
triadic
#3C540F #0F3C54 #540F3C
tetradic
#3C540F #0F544A #270F54 #540F19
square
#3C540F #0F544A #270F54 #540F19
split-complementary
#3C540F #0F1954 #4A0F54
monochromatic
#131A05 #172006 #3C540F #618818 #86BC22

Accessibility & contrast

On white

8.51
#3C540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3C540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C540F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C540F#FFFFFF#000000##FFFFFF
##3C540F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#3F5047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c540f;
/* rgb */ color: rgb(60, 84, 15);
/* oklch */ color: oklch(41.2% 0.097 127.4);
Tailwind
colors: {
  custom: {
    50: '#748453',
    500: '#3c540f',
    950: '#000000',
  },
}
SCSS
$custom: #3c540f;
$custom-light: #748453;
$custom-dark: #000000;
JSON
{
  "hex": "#3c540f",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 80.87,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.09701,
    "h": 127.4
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#3C540F
secondary
#51318E
accent
#3BED79
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3C540F

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

Preview Lab → · Contrast checker → · Palette generator →

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