#3C5017#3C5017

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

Color values

HEX#3C5017
RGBrgb(60, 80, 23)
HSLhsl(81, 55%, 20%)
HSVhsv(81, 71%, 31%)
CMYKcmyk(25%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.25, -17.76, 29.98)
CIE-LCHlch(31.25, 34.85, 120.64°)
OKLaboklab(40.13% -0.0507 0.0685)
OKLCHoklch(40.13% 0.085 126.5)
XYZxyz(4.8868, 6.7598, 1.8578)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5017 #2B1750
analogous
#504817 #3C5017 #1F5017
triadic
#3C5017 #173C50 #50173C
tetradic
#3C5017 #175048 #2B1750 #50171F
square
#3C5017 #175048 #2B1750 #50171F
split-complementary
#3C5017 #171F50 #481750
monochromatic
#121807 #182009 #3C5017 #608025 #83AF32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C5017#FFFFFF#000000##FFFFFF
##3C50171.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)
#544A10
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#3F4C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c5017;
/* rgb */ color: rgb(60, 80, 23);
/* oklch */ color: oklch(40.1% 0.085 126.5);
Tailwind
colors: {
  custom: {
    50: '#748157',
    500: '#3c5017',
    950: '#000000',
  },
}
SCSS
$custom: #3c5017;
$custom-light: #748157;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5017",
  "rgb": {
    "r": 60,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 81.053,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.08517,
    "h": 126.5
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#3C5017
secondary
#563C87
accent
#49DF7E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3C5017

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

Preview Lab → · Contrast checker → · Palette generator →

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