#3C5915#3C5915

#3C5915 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.6% C 0.100 H 130.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3C5915
RGBrgb(60, 89, 21)
HSLhsl(86, 62%, 22%)
HSVhsv(86, 76%, 35%)
CMYKcmyk(32.6%, 0%, 76.4%, 65.1%)
CIE-LABlab(34.31, -22.64, 34.06)
CIE-LCHlch(34.31, 40.90, 123.61°)
OKLaboklab(42.61% -0.0643 0.0767)
OKLCHoklch(42.61% 0.1 130)
XYZxyz(5.5712, 8.1594, 1.9907)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5915 #321559
analogous
#595415 #3C5915 #1A5915
triadic
#3C5915 #153C59 #59153C
tetradic
#3C5915 #155954 #321559 #59151A
square
#3C5915 #155954 #321559 #59151A
split-complementary
#3C5915 #151A59 #541559
monochromatic
#111906 #1B2709 #3C5915 #5D8B21 #7FBC2C

Accessibility & contrast

On white

7.98
#3C5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3C5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5915
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5915#FFFFFF#000000##FFFFFF
##3C59151.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520A
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#3E554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c5915;
/* rgb */ color: rgb(60, 89, 21);
/* oklch */ color: oklch(42.6% 0.100 130.0);
Tailwind
colors: {
  custom: {
    50: '#758857',
    500: '#3c5915',
    950: '#000000',
  },
}
SCSS
$custom: #3c5915;
$custom-light: #758857;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5915",
  "rgb": {
    "r": 60,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 85.588,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.10005,
    "h": 130
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#3C5915
secondary
#5E3991
accent
#43E588
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3C5915

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

Preview Lab → · Contrast checker → · Palette generator →

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