#3C7A15#3C7A15

#3C7A15 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.145 H 136.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3C7A15
RGBrgb(60, 122, 21)
HSLhsl(97, 71%, 28%)
HSVhsv(97, 83%, 48%)
CMYKcmyk(50.8%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.54, -37.73, 44.91)
CIE-LCHlch(45.54, 58.65, 130.03°)
OKLaboklab(51.8% -0.105 0.0994)
OKLCHoklch(51.8% 0.145 136.6)
XYZxyz(8.9581, 14.9332, 3.1197)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7A15 #53157A
analogous
#6E7A15 #3C7A15 #157A21
triadic
#3C7A15 #153C7A #7A153C
tetradic
#3C7A15 #156E7A #53157A #7A2115
square
#3C7A15 #156E7A #53157A #7A2115
split-complementary
#3C7A15 #21157A #7A156E
monochromatic
#0D1A04 #22460C #3C7A15 #56AE1E #71DB2E

Accessibility & contrast

On white

5.27
#3C7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3C7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7A15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7A15#FFFFFF#000000##FFFFFF
##3C7A151.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#397568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3c7a15;
/* rgb */ color: rgb(60, 122, 21);
/* oklch */ color: oklch(51.8% 0.145 136.6);
Tailwind
colors: {
  custom: {
    50: '#79a15c',
    500: '#3c7a15',
    950: '#000000',
  },
}
SCSS
$custom: #3c7a15;
$custom-light: #79a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7a15",
  "rgb": {
    "r": 60,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 96.832,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.1446,
    "h": 136.6
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#3C7A15
secondary
#833BAF
accent
#3AEDA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3C7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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