#3C7E12#3C7E12

#3C7E12 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 52.9% C 0.151 H 136.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3C7E12
RGBrgb(60, 126, 18)
HSLhsl(97, 75%, 28%)
HSVhsv(97, 86%, 49%)
CMYKcmyk(52.4%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.88, -39.52, 47.02)
CIE-LCHlch(46.88, 61.42, 130.05°)
OKLaboklab(52.9% -0.11 0.1034)
OKLCHoklch(52.9% 0.151 136.8)
XYZxyz(9.4332, 15.9254, 3.1490)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7E12 #54127E
analogous
#727E12 #3C7E12 #127E1E
triadic
#3C7E12 #123C7E #7E123C
tetradic
#3C7E12 #12727E #54127E #7E1E12
square
#3C7E12 #12727E #54127E #7E1E12
split-complementary
#3C7E12 #1E127E #7E1272
monochromatic
#0D1B04 #22480A #3C7E12 #55B41A #71E12A

Accessibility & contrast

On white

5.02
#3C7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3C7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C7E12
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C7E12#FFFFFF#000000##FFFFFF
##3C7E121.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837200
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#38796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3c7e12;
/* rgb */ color: rgb(60, 126, 18);
/* oklch */ color: oklch(52.9% 0.151 136.8);
Tailwind
colors: {
  custom: {
    50: '#79a45c',
    500: '#3c7e12',
    950: '#000000',
  },
}
SCSS
$custom: #3c7e12;
$custom-light: #79a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7e12",
  "rgb": {
    "r": 60,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 96.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52895,
    "c": 0.15095,
    "h": 136.8
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#3C7E12
secondary
#8438B4
accent
#36F2A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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