#3C7B15#3C7B15

#3C7B15 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.146 H 136.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3C7B15
RGBrgb(60, 123, 21)
HSLhsl(97, 71%, 28%)
HSVhsv(97, 83%, 48%)
CMYKcmyk(51.2%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.88, -38.14, 45.22)
CIE-LCHlch(45.88, 59.16, 130.14°)
OKLaboklab(52.08% -0.1061 0.1001)
OKLCHoklch(52.08% 0.146 136.7)
XYZxyz(9.0815, 15.1801, 3.1608)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7B15 #54157B
analogous
#6F7B15 #3C7B15 #157B21
triadic
#3C7B15 #153C7B #7B153C
tetradic
#3C7B15 #156F7B #54157B #7B2115
square
#3C7B15 #156F7B #54157B #7B2115
split-complementary
#3C7B15 #21157B #7B156F
monochromatic
#0D1A04 #22470C #3C7B15 #55AF1E #71DB2F

Accessibility & contrast

On white

5.20
#3C7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3C7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7B15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7B15#FFFFFF#000000##FFFFFF
##3C7B151.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#387668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3c7b15;
/* rgb */ color: rgb(60, 123, 21);
/* oklch */ color: oklch(52.1% 0.146 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a25c',
    500: '#3c7b15',
    950: '#000000',
  },
}
SCSS
$custom: #3c7b15;
$custom-light: #79a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7b15",
  "rgb": {
    "r": 60,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 97.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.14586,
    "h": 136.7
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#3C7B15
secondary
#843BB0
accent
#3AEEA9
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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