#3C7915#3C7915

#3C7915 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.143 H 136.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3C7915
RGBrgb(60, 121, 21)
HSLhsl(97, 70%, 28%)
HSVhsv(97, 83%, 47%)
CMYKcmyk(50.4%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.21, -37.31, 44.59)
CIE-LCHlch(45.21, 58.14, 129.92°)
OKLaboklab(51.52% -0.1039 0.0987)
OKLCHoklch(51.52% 0.143 136.5)
XYZxyz(8.8360, 14.6889, 3.0790)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7915 #521579
analogous
#6E7915 #3C7915 #157920
triadic
#3C7915 #153C79 #79153C
tetradic
#3C7915 #156E79 #521579 #792015
square
#3C7915 #156E79 #521579 #792015
split-complementary
#3C7915 #201579 #79156E
monochromatic
#0D1A05 #22450C #3C7915 #56AD1E #71DB2E

Accessibility & contrast

On white

5.33
#3C7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3C7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7915
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7915#FFFFFF#000000##FFFFFF
##3C79151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#397467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3c7915;
/* rgb */ color: rgb(60, 121, 21);
/* oklch */ color: oklch(51.5% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#78a05c',
    500: '#3c7915',
    950: '#000000',
  },
}
SCSS
$custom: #3c7915;
$custom-light: #78a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7915",
  "rgb": {
    "r": 60,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 96.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.14333,
    "h": 136.5
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#3C7915
secondary
#823BAF
accent
#3BEDA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3C7915

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

Preview Lab → · Contrast checker → · Palette generator →

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