#3C7D15#3C7D15

#3C7D15 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.6% C 0.148 H 136.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3C7D15
RGBrgb(60, 125, 21)
HSLhsl(98, 71%, 29%)
HSVhsv(98, 83%, 49%)
CMYKcmyk(52%, 0%, 83.2%, 51%)
CIE-LABlab(46.55, -38.96, 45.85)
CIE-LCHlch(46.55, 60.17, 130.36°)
OKLaboklab(52.63% -0.1083 0.1014)
OKLCHoklch(52.63% 0.148 136.9)
XYZxyz(9.3322, 15.6814, 3.2444)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7D15 #56157D
analogous
#707D15 #3C7D15 #157D22
triadic
#3C7D15 #153C7D #7D153C
tetradic
#3C7D15 #15707D #56157D #7D2215
square
#3C7D15 #15707D #56157D #7D2215
split-complementary
#3C7D15 #22157D #7D1570
monochromatic
#0D1A04 #23490C #3C7D15 #55B11E #71DC30

Accessibility & contrast

On white

5.08
#3C7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3C7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7D15
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7D15#FFFFFF#000000##FFFFFF
##3C7D151.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#38786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3c7d15;
/* rgb */ color: rgb(60, 125, 21);
/* oklch */ color: oklch(52.6% 0.148 136.9);
Tailwind
colors: {
  custom: {
    50: '#79a35d',
    500: '#3c7d15',
    950: '#000000',
  },
}
SCSS
$custom: #3c7d15;
$custom-light: #79a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7d15",
  "rgb": {
    "r": 60,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 97.5,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.14836,
    "h": 136.9
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#3C7D15
secondary
#863CB2
accent
#3AEEAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3C7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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