#3C7D12#3C7D12

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

Color values

HEX#3C7D12
RGBrgb(60, 125, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 49%)
CMYKcmyk(52%, 0%, 85.6%, 51%)
CIE-LABlab(46.54, -39.12, 46.71)
CIE-LCHlch(46.54, 60.93, 129.94°)
OKLaboklab(52.62% -0.1089 0.1027)
OKLCHoklch(52.62% 0.15 136.7)
XYZxyz(9.3060, 15.6709, 3.1066)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C7D12 #53127D
analogous
#717D12 #3C7D12 #127D1E
triadic
#3C7D12 #123C7D #7D123C
tetradic
#3C7D12 #12717D #53127D #7D1E12
square
#3C7D12 #12717D #53127D #7D1E12
split-complementary
#3C7D12 #1E127D #7D1271
monochromatic
#0D1B04 #22480A #3C7D12 #56B21A #71E029

Accessibility & contrast

On white

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

On black

4.13
#3C7D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3C7D12#FFFFFF#000000##FFFFFF
##3C7D121.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c7d12;
/* rgb */ color: rgb(60, 125, 18);
/* oklch */ color: oklch(52.6% 0.150 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a35b',
    500: '#3c7d12',
    950: '#000000',
  },
}
SCSS
$custom: #3c7d12;
$custom-light: #79a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c7d12",
  "rgb": {
    "r": 60,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 96.449,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.14972,
    "h": 136.7
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#3C7D12
secondary
#8338B3
accent
#36F1A8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3C7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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